Renamed API amdsmi_dev_get_gpu_clk_freq
It is renamed to amdsmi_get_clk_freq
grep -rli 'amdsmi_dev_get_gpu_clk_freq' * | xargs -i@ sed -i
's/amdsmi_dev_get_gpu_clk_freq/amdsmi_get_clk_freq/g' @
Change-Id: Ia12dd1282ab501f17667cf9f1f9b7284c2648198
[ROCm/amdsmi commit: 56aa8059f8]
This commit is contained in:
committato da
Naveen Krishna Chatradhi
parent
3600a7d27a
commit
68665655d4
@@ -2038,7 +2038,7 @@ try:
|
||||
except AmdSmiException as e:
|
||||
print(e)
|
||||
```
|
||||
## amdsmi_dev_get_gpu_clk_freq
|
||||
## amdsmi_get_clk_freq
|
||||
Description: Get the list of possible system clock speeds of device for a
|
||||
specified clock type
|
||||
|
||||
@@ -2054,7 +2054,7 @@ Field | Description
|
||||
`current`| The current frequency index
|
||||
`frequency`| List of frequencies, only the first num_supported frequencies are valid
|
||||
|
||||
Exceptions that can be thrown by ` amdsmi_dev_get_gpu_clk_freq` function:
|
||||
Exceptions that can be thrown by ` amdsmi_get_clk_freq` function:
|
||||
* `AmdSmiLibraryException`
|
||||
* `AmdSmiRetryException`
|
||||
* `AmdSmiParameterException`
|
||||
@@ -2067,7 +2067,7 @@ try:
|
||||
print("No GPUs on machine")
|
||||
else:
|
||||
for device in devices:
|
||||
amdsmi_dev_get_gpu_clk_freq(device, AmdSmiClkType.SYS)
|
||||
amdsmi_get_clk_freq(device, AmdSmiClkType.SYS)
|
||||
except AmdSmiException as e:
|
||||
print(e)
|
||||
```
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user