From 21c9c02c27156e035375778c995b6bcec85f39d2 Mon Sep 17 00:00:00 2001 From: German Andryeyev Date: Fri, 11 Mar 2022 12:58:27 -0500 Subject: [PATCH] SWDEV-286150 - Switch PAL version to 711 Change-Id: Iaf07946d6327f92ed734223a6b38c433ce368c4a [ROCm/clr commit: 43ea9a8e3137107820e9c94f36d29c1a568948f5] --- projects/clr/rocclr/device/pal/palcdefs | 2 +- projects/clr/rocclr/device/pal/palgpuopen.cpp | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/projects/clr/rocclr/device/pal/palcdefs b/projects/clr/rocclr/device/pal/palcdefs index 3cdaff8689..d795be4bb7 100644 --- a/projects/clr/rocclr/device/pal/palcdefs +++ b/projects/clr/rocclr/device/pal/palcdefs @@ -1,3 +1,3 @@ # PAL interface versions -PAL_MAJOR_VERSION = 678 +PAL_MAJOR_VERSION = 711 GPUOPEN_MAJOR_VERSION = 42 diff --git a/projects/clr/rocclr/device/pal/palgpuopen.cpp b/projects/clr/rocclr/device/pal/palgpuopen.cpp index 8437bc0600..d6c6bad2dc 100644 --- a/projects/clr/rocclr/device/pal/palgpuopen.cpp +++ b/projects/clr/rocclr/device/pal/palgpuopen.cpp @@ -808,10 +808,11 @@ RgpSqttMarkerEvent RgpCaptureMgr::BuildEventMarker(const VirtualGPU* gpu, void RgpCaptureMgr::WriteMarker(const VirtualGPU* gpu, const void* data, size_t data_size) const { assert((data_size % sizeof(uint32_t)) == 0); assert((data_size / sizeof(uint32_t)) > 0); + Pal::RgpMarkerSubQueueFlags subQueueFlags = {}; + subQueueFlags.includeMainSubQueue = 1; - gpu->queue(MainEngine) - .iCmd() - ->CmdInsertRgpTraceMarker(static_cast(data_size / sizeof(uint32_t)), data); + gpu->queue(MainEngine).iCmd()->CmdInsertRgpTraceMarker( + subQueueFlags, static_cast(data_size / sizeof(uint32_t)), data); } // ================================================================================================