From 4fd8a0164a08fa94e7a65f3ced115b3e5204447e Mon Sep 17 00:00:00 2001 From: "Critchley, Paul" Date: Thu, 24 Apr 2025 14:06:17 -0700 Subject: [PATCH] SWDEV-527731 - [Ubertrace] OpenCL driver reports wrong Instrumentation API Version (#211) [ROCm/clr commit: 4f2a4b12a9364a1ccc4524586091e918ba9a8e2b] --- projects/clr/rocclr/cmake/ROCclrPAL.cmake | 2 +- projects/clr/rocclr/device/pal/paldevice.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/clr/rocclr/cmake/ROCclrPAL.cmake b/projects/clr/rocclr/cmake/ROCclrPAL.cmake index 4f7da71ac4..5702b7877a 100644 --- a/projects/clr/rocclr/cmake/ROCclrPAL.cmake +++ b/projects/clr/rocclr/cmake/ROCclrPAL.cmake @@ -20,7 +20,7 @@ set(PAL_CLIENT "OCL") -set(PAL_CLIENT_INTERFACE_MAJOR_VERSION 910) +set(PAL_CLIENT_INTERFACE_MAJOR_VERSION 916) set(GPUOPEN_CLIENT_INTERFACE_MAJOR_VERSION 42) set(GPUOPEN_CLIENT_INTERFACE_MINOR_VERSION 0) set(AMD_DK_ROOT $ENV{DK_ROOT}) diff --git a/projects/clr/rocclr/device/pal/paldevice.cpp b/projects/clr/rocclr/device/pal/paldevice.cpp index 59f28a8f97..41d447b3e4 100644 --- a/projects/clr/rocclr/device/pal/paldevice.cpp +++ b/projects/clr/rocclr/device/pal/paldevice.cpp @@ -1390,6 +1390,7 @@ bool Device::init() { info.pSettingsPath = "OCL"; info.maxSvmSize = static_cast(OCL_SET_SVM_SIZE * Mi); info.clientApiId = (amd::IS_HIP) ? Pal::ClientApi::Hip : Pal::ClientApi::OpenCl; + info.instrApiVer = RgpSqttInstrumentationApiVersion; if (IS_LINUX) { //! @note: Linux may have a deadlock if runtime will attempt to reserve