From 2f00782829371acd28b6bf39541618685c12cbee Mon Sep 17 00:00:00 2001 From: Vladislav Sytchenko Date: Mon, 9 Aug 2021 12:56:31 -0400 Subject: [PATCH] SWDEV-292408 - [PAL] Always force high clocks for HIP Redshift sees around a 3x performance uplift this change. Turning this on for OpenCL might cause unwanted behaviour, due to apps like RSX running in the background all the time. Change-Id: I9f32d5f2e05b6697a8aaa9ddf74474b5531bb7e1 --- rocclr/device/pal/paldevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocclr/device/pal/paldevice.cpp b/rocclr/device/pal/paldevice.cpp index 33906557da..bbab03bfde 100644 --- a/rocclr/device/pal/paldevice.cpp +++ b/rocclr/device/pal/paldevice.cpp @@ -881,7 +881,7 @@ bool Device::create(Pal::IDevice* device) { Pal::PalPublicSettings* const palSettings = iDev()->GetPublicSettings(); // Modify settings here // palSettings ... - palSettings->forceHighClocks = appProfile_.enableHighPerformanceState(); + palSettings->forceHighClocks = amd::IS_HIP || appProfile_.enableHighPerformanceState(); palSettings->longRunningSubmissions = true; palSettings->cmdBufBatchedSubmitChainLimit = 0; palSettings->disableResourceProcessingManager = true;