Added kernel id to enqueue callback for kernel dispatch (#276)

Adds kernel id as parameter to rocprofiler_profile_counting_dispatch_callback_t.
Small cleanup of code in core.cpp.

[ROCm/rocprofiler-sdk commit: d2a6eec1bf]
This commit is contained in:
Benjamin Welton
2023-12-11 09:13:48 -08:00
zatwierdzone przez GitHub
rodzic 2271ed7730
commit cad071f395
6 zmienionych plików z 12 dodań i 4 usunięć
@@ -142,6 +142,7 @@ dispatch_callback(rocprofiler_queue_id_t /*queue_id*/,
const rocprofiler_agent_t* agent,
rocprofiler_correlation_id_t /*correlation_id*/,
const hsa_kernel_dispatch_packet_t* /*dispatch_packet*/,
uint64_t /*kernel_id*/,
void* /*callback_data_args*/,
rocprofiler_profile_config_id_t* config)
{