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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user