Renamed API amdsmi_dev_create_counter
to amdsmi_gpu_create_counter
grep -rli 'amdsmi_dev_create_counter' * | xargs -i@ sed -i
's/amdsmi_dev_create_counter/amdsmi_gpu_create_counter/g' @
Change-Id: Ic296057314f98547dd6a01b1c7d51668cfe5bc9a
[ROCm/amdsmi commit: 0c435b81c2]
This commit is contained in:
committed by
Naveen Krishna Chatradhi
parent
22ad287cbf
commit
69267f01c1
@@ -2775,7 +2775,7 @@ amdsmi_status_string(amdsmi_status_t status, const char **status_string);
|
||||
* Once it is determined that events are supported and counters are available,
|
||||
* an event counter can be created/destroyed and controlled.
|
||||
*
|
||||
* ::amdsmi_dev_create_counter() allocates internal data structures that will be
|
||||
* ::amdsmi_gpu_create_counter() allocates internal data structures that will be
|
||||
* used to used to control the event counter, and return a handle to this data
|
||||
* structure.
|
||||
*
|
||||
@@ -2825,7 +2825,7 @@ amdsmi_status_string(amdsmi_status_t status, const char **status_string);
|
||||
* // AMDSMI_EVNT_XGMI_0_BEATS_TX) and get the handle
|
||||
* // (amdsmi_event_handle_t).
|
||||
*
|
||||
* ret = amdsmi_dev_create_counter(dv_ind, AMDSMI_EVNT_XGMI_0_BEATS_TX,
|
||||
* ret = amdsmi_gpu_create_counter(dv_ind, AMDSMI_EVNT_XGMI_0_BEATS_TX,
|
||||
* &evnt_handle);
|
||||
*
|
||||
* // A program that generates the events of interest can be started
|
||||
@@ -2895,7 +2895,7 @@ amdsmi_gpu_counter_group_supported(amdsmi_processor_handle processor_handle, amd
|
||||
* @return ::amdsmi_status_t | ::AMDSMI_STATUS_SUCCESS on success, non-zero on fail
|
||||
*/
|
||||
amdsmi_status_t
|
||||
amdsmi_dev_create_counter(amdsmi_processor_handle processor_handle, amdsmi_event_type_t type,
|
||||
amdsmi_gpu_create_counter(amdsmi_processor_handle processor_handle, amdsmi_event_type_t type,
|
||||
amdsmi_event_handle_t *evnt_handle);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user