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


[ROCm/clr commit: 2f00782829]
Este commit está contenido en:
Vladislav Sytchenko
2021-08-09 12:56:31 -04:00
cometido por Maneesh Gupta
padre 23f1ed96c7
commit 48cbefdacf
+1 -1
Ver fichero
@@ -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;