SWDEV-489003 - [Ubertrace] OCL/HIP profiles are missing event instrumentation

Adds UberTrace support for pre-dispatch markers and barrier begin/end markers.

Moves shared definitions out of palgpuopen.hpp into shared header
palcapturemgr.hpp.

Change-Id: I9f464c689e7ff12c54eca043fc1ad65e1836a64f
This commit is contained in:
Daniel Livingston authored and Rakesh Roy committed 2025-01-10 11:28:52 -05:00
1 parent c6e25b2be7
commit 541c449ce2
5 files changed
+383 -233

No files matched your search

+2 -1
View File
@@ -453,7 +453,8 @@ void RgpCaptureMgr::PreDispatch(VirtualGPU* gpu, const HSAILKernel& kernel, size
WriteComputeBindMarker(gpu, kernel.prog().ApiHash());
WriteUserEventMarker(gpu, RgpSqttMarkerUserEventObjectName, kernel.name());
// Write disaptch marker
// Write dispatch marker
WriteEventWithDimsMarker(gpu, apiEvent, static_cast<uint32_t>(x), static_cast<uint32_t>(y),
static_cast<uint32_t>(z));
}