From fcb210f587e45205d4b0e9e66fcc68202793ca18 Mon Sep 17 00:00:00 2001 From: foreman Date: Wed, 20 Feb 2019 11:50:08 -0500 Subject: [PATCH] P4 to Git Change 1746163 by jujiang@JJ-OCL-w8 on 2019/02/20 11:17:07 SWDEV-169154 - Implement OpenCL extension function to set stable pstate on ORCA stack -Enable StablePstate feature in linux brahma stack Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#189 edit [ROCm/clr commit: 7b958148e2b3aa01f1587e9ff82f92ea9e9d09a1] --- .../clr/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/projects/clr/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp b/projects/clr/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp index cbed58c79f..ab5e50cfab 100644 --- a/projects/clr/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp +++ b/projects/clr/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp @@ -1635,15 +1635,11 @@ bool CALGSLDevice::gslSetClockMode(GSLClockModeInfo * clockModeInfo) { bool result = false; -#ifdef _WIN32 const void* requestClockInfo = reinterpret_cast(clockModeInfo); uint32 uReturn = m_adp->requestClockModeInfo((void*)requestClockInfo); if(uReturn == GSL_SETCLOCK_SUCCESS || uReturn == GSL_SETCLOCK_QUERY_ONLY) { result = true; } -#else - result = true; -#endif return result; } \ No newline at end of file