From 81de65e8dc0ea0236b94dd97fd23bf47a9434a52 Mon Sep 17 00:00:00 2001 From: Ammar ELWazir Date: Mon, 21 Nov 2022 13:31:27 -0600 Subject: [PATCH] Modifying Public header file with gpu index definition Change-Id: I9c07ac419b9894c6dc65daa763bbc4cd4a7511b0 [ROCm/rocprofiler commit: f9a096a194504a2924e8b6a59d353ac89b9b27f8] --- projects/rocprofiler/inc/rocprofiler.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/rocprofiler/inc/rocprofiler.h b/projects/rocprofiler/inc/rocprofiler.h index 5c76d5312a..109fca28ac 100644 --- a/projects/rocprofiler/inc/rocprofiler.h +++ b/projects/rocprofiler/inc/rocprofiler.h @@ -2541,7 +2541,7 @@ typedef struct { // Profiling callback data typedef struct { hsa_agent_t agent; // GPU agent handle - uint32_t agent_index; // GPU index + uint32_t agent_index; // GPU index (GPU Driver Node ID as reported in the sysfs topology) const hsa_queue_t* queue; // HSA queue uint64_t queue_index; // Index in the queue uint32_t queue_id; // Queue id @@ -2660,7 +2660,7 @@ typedef union { // Profiling info data typedef struct { - uint32_t agent_index; // GPU HSA agent index + uint32_t agent_index; // GPU HSA agent index (GPU Driver Node ID as reported in the sysfs topology) rocprofiler_info_kind_t kind; // info data kind union { struct {