adding kernel properties

Change-Id: I5d8672400357d5ef5cbfb5023d82f712fdaf7057


[ROCm/rocprofiler commit: 64e0325a0d]
This commit is contained in:
Evgeny
2018-12-21 18:02:26 -06:00
parent 5745d01e9c
commit 2dff8e83f4
3 changed files with 44 additions and 4 deletions
+2
View File
@@ -43,6 +43,7 @@ THE SOFTWARE.
#define INC_ROCPROFILER_H_
#include <hsa.h>
#include <amd_hsa_kernel_code.h>
#include <hsa_ven_amd_aqlprofile.h>
#include <stdint.h>
@@ -221,6 +222,7 @@ typedef struct {
const hsa_kernel_dispatch_packet_t* packet; // HSA dispatch packet
const char* kernel_name; // Kernel name
uint64_t kernel_object; // Kernel object pointer
const amd_kernel_code_t* kernel_code; // Kernel code pointer
int64_t thread_id; // Thread id
const rocprofiler_dispatch_record_t* record; // Dispatch record
} rocprofiler_callback_data_t;