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


[ROCm/amdsmi commit: fb419ab655]
This commit is contained in:
Deepak Mewar
2023-02-27 02:00:14 -05:00
committed by Naveen Krishna Chatradhi
parent 370168e42c
commit 22ad287cbf
9 changed files with 20 additions and 20 deletions
+3 -3
View File
@@ -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)
```