diff --git a/test/tool/tracer_tool.cpp b/test/tool/tracer_tool.cpp index e7cab52fa2..f300c69388 100644 --- a/test/tool/tracer_tool.cpp +++ b/test/tool/tracer_tool.cpp @@ -268,6 +268,9 @@ void hsa_activity_callback( index++; } +/////////////////////////////////////////////////////////////////////////////////////////////////////// +// HIP API tracing + struct hip_api_trace_entry_t { uint32_t valid; uint32_t type; @@ -282,9 +285,6 @@ struct hip_api_trace_entry_t { void* ptr; }; -/////////////////////////////////////////////////////////////////////////////////////////////////////// -// HIP API tracing - void hip_api_flush_cb(hip_api_trace_entry_t* entry); roctracer::TraceBuffer::flush_prm_t hip_flush_prm[1] = {{0, hip_api_flush_cb}}; roctracer::TraceBuffer hip_api_trace_buffer("HIP", 0x200000, hip_flush_prm, 1);