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.
Tá an tiomantas seo le fáil i:
Benjamin Welton údaraithe agus GitHub tiomanta 2023-12-11 09:13:48 -08:00
1 tuismitheoir 200be03bb4
tiomantas d2a6eec1bf
6 comhad athraithe
+12 -4

Níor tháinig aon chomhaid le do chuardach

@@ -111,6 +111,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)
{