corrected the gpu-id in the profiler record for MI300 individual xcc mode

Change-Id: Iec0163a67dd28b556f73ef7ff376d6d7040ba4c5


[ROCm/rocprofiler commit: b72fa8b125]
Этот коммит содержится в:
Saurabh Verma authored and Ammar ELWazir committed 2023-05-30 21:41:54 -05:00
1 родитель c15dc57cd4
Коммит c7e51f8abc
2 files changed
+3 -2

No files matched your search

+1 -2
Просмотреть файл
@@ -466,8 +466,7 @@ bool AsyncSignalHandler(hsa_signal_value_t signal_value, void* data) {
// TODO: (sauverma) gpu-id will need to support xcc like so- 1.1, 1.2, 1.3 ... 1.5 for
// different xcc
record.gpu_id = rocprofiler_agent_id_t{
(uint64_t)hsa_support::GetAgentInfo(queue_info_session->agent.handle).getIndex() +
xcc_id};
(uint64_t)hsa_support::GetAgentInfo(queue_info_session->agent.handle).getIndex()};
record.kernel_properties = pending.kernel_properties;
record.thread_id = rocprofiler_thread_id_t{pending.thread_id};
record.queue_idx = rocprofiler_queue_index_t{pending.queue_index};