From 83fe82052847538831a7f8ac469e1d6693438c55 Mon Sep 17 00:00:00 2001 From: Kewen Meng Date: Thu, 6 Nov 2025 20:56:53 -0600 Subject: [PATCH 1/2] [OpenMP] Print loaded envars --- offload/plugins-nextgen/amdgpu/src/rtl.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/offload/plugins-nextgen/amdgpu/src/rtl.cpp b/offload/plugins-nextgen/amdgpu/src/rtl.cpp index 7dfeb8e585d26..33e13d81bba9f 100644 --- a/offload/plugins-nextgen/amdgpu/src/rtl.cpp +++ b/offload/plugins-nextgen/amdgpu/src/rtl.cpp @@ -3142,6 +3142,12 @@ struct AMDGPUDeviceTy : public GenericDeviceTy, AMDGenericDeviceTy { OMPX_AdjustNumTeamsForXteamRedSmallBlockSize = EnvarConfig.OMPX_AdjustNumTeamsForXteamRedSmallBlockSize; } + + // Print loaded envars. + DP("Loaded envar: OMPX_UseMultipleSdmaEngines=%d, " + "OMPX_AdjustNumTeamsForXteamRedSmallBlockSize=%d\n", + EnvarConfig.OMPX_UseMultipleSdmaEngines, + EnvarConfig.OMPX_AdjustNumTeamsForXteamRedSmallBlockSize); } ~AMDGPUDeviceTy() {} From fedc95341a8555da1afccd8dc6bc8cfcbc70c978 Mon Sep 17 00:00:00 2001 From: Ron Lieberman Date: Fri, 7 Nov 2025 07:18:46 -0600 Subject: [PATCH 2/2] WS Cleanuo --- offload/plugins-nextgen/amdgpu/src/rtl.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/offload/plugins-nextgen/amdgpu/src/rtl.cpp b/offload/plugins-nextgen/amdgpu/src/rtl.cpp index 3256270cfe65c..4ad480008a1d8 100644 --- a/offload/plugins-nextgen/amdgpu/src/rtl.cpp +++ b/offload/plugins-nextgen/amdgpu/src/rtl.cpp @@ -3160,7 +3160,6 @@ struct AMDGPUDeviceTy : public GenericDeviceTy, AMDGenericDeviceTy { EnvarConfig.OMPX_AdjustNumTeamsForXteamRedSmallBlockSize, EnvarConfig.OMPX_XteamBlockSize, EnvarConfig.OMPX_XTeamReductionOccupancyBasedOpt); - } ~AMDGPUDeviceTy() {}