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

Change-Id: Iec0163a67dd28b556f73ef7ff376d6d7040ba4c5
Šī revīzija ir iekļauta:
Saurabh Verma
2023-05-24 15:54:44 -05:00
revīziju iesūtīja Ammar ELWazir
vecāks 7ed8e6f37b
revīzija b72fa8b125
2 mainīti faili ar 3 papildinājumiem un 2 dzēšanām
+1 -2
Parādīt failu
@@ -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};