SWDEV-523853 - Use RecordRenderOps instead of RecordRenderOp (#97)

[ROCm/clr commit: 686dd56a4e]
This commit is contained in:
GunaShekar, Ajay
2025-03-25 20:58:40 -07:00
committed by GitHub
parent e27e3eb66a
commit aaba454bfc
@@ -182,8 +182,11 @@ void UberTraceCaptureMgr::PreDispatch(VirtualGPU* gpu, const HSAILKernel& kernel
// Increment dispatch count in RenderOp trace controller
Pal::IQueue* pQueue = gpu->queue(MainEngine).iQueue_;
trace_controller_->RecordRenderOp(pQueue,
GpuUtil::RenderOpTraceController::RenderOp::RenderOpDispatch);
GpuUtil::RenderOpCounts opCounts =
{
.dispatchCount = 1u,
};
trace_controller_->RecordRenderOps(pQueue,opCounts);
if (trace_session_->GetTraceSessionState() == GpuUtil::TraceSessionState::Running) {
RgpSqttMarkerEventType apiEvent = RgpSqttMarkerEventType::CmdNDRangeKernel;