Renamed API amdsmi_dev_counter_group_supported
to amdsmi_gpu_counter_group_supported grep -rli 'amdsmi_dev_counter_group_supported' * | xargs -i@ sed -i 's/amdsmi_dev_counter_group_supported/amdsmi_gpu_counter_group_supported/g' @ Change-Id: I69a5534f779dc0013bbe75b3d9b2c6074b2f378b
Dieser Commit ist enthalten in:
committet von
Naveen Krishna Chatradhi
Ursprung
2ad8b91e0e
Commit
fb419ab655
@@ -2234,7 +2234,7 @@ except AmdSmiException as e:
|
||||
print(e)
|
||||
```
|
||||
|
||||
## amdsmi_dev_counter_group_supported
|
||||
## amdsmi_gpu_counter_group_supported
|
||||
Description: Tell if an event group is supported by a given device
|
||||
|
||||
Input parameters:
|
||||
@@ -2244,7 +2244,7 @@ Input parameters:
|
||||
|
||||
Output: None
|
||||
|
||||
Exceptions that can be thrown by `amdsmi_dev_counter_group_supported` function:
|
||||
Exceptions that can be thrown by `amdsmi_gpu_counter_group_supported` function:
|
||||
* `AmdSmiLibraryException`
|
||||
* `AmdSmiRetryException`
|
||||
* `AmdSmiParameterException`
|
||||
@@ -2257,7 +2257,7 @@ try:
|
||||
print("No GPUs on machine")
|
||||
else:
|
||||
for device in devices:
|
||||
amdsmi_dev_counter_group_supported(device, AmdSmiEventGroup.XGMI)
|
||||
amdsmi_gpu_counter_group_supported(device, AmdSmiEventGroup.XGMI)
|
||||
except AmdSmiException as e:
|
||||
print(e)
|
||||
```
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren