P4 to Git Change 1619397 by gandryey@gera-w8 on 2018/10/15 18:23:10

SWDEV-155434 - Add SQTT instrumentation tokens for OpenCL dispatches for RGP support
	- Add the barrier's reason to the RGP trace

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palgpuopen.hpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#127 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#57 edit
This commit is contained in:
foreman
2018-10-18 07:34:23 -04:00
parent 55e3c896aa
commit 9bad9b4d54
4 changed files with 22 additions and 9 deletions
+1 -1
View File
@@ -771,7 +771,7 @@ void RgpCaptureMgr::WriteBarrierStartMarker(
marker.identifier = RgpSqttMarkerIdentifierBarrierStart;
marker.cbId = trace_.begin_queue_->queue(MainEngine).cmdBufId();
marker.dword02 = 0xFFFFFFFF; //data.reason;
marker.dword02 = data.reason;
marker.internal = true;
WriteMarker(gpu, &marker, sizeof(marker));