2
0

P4 to Git Change 1744206 by jujiang@JJ-OCL-w8 on 2019/02/14 19:35:05

SWDEV-169154 - Implement OpenCL extension function to set stable pstate on ORCA stack

	-Disable StablePstate feature in linux brahma stack

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#187 edit


[ROCm/clr commit: 28fd6ede82]
Este cometimento está contido em:
foreman
2019-02-14 19:50:43 -05:00
ascendente d290c38552
cometimento d847aacfcb
@@ -1627,11 +1627,15 @@ bool
CALGSLDevice::gslSetClockMode(GSLClockModeInfo * clockModeInfo)
{
bool result = false;
#ifdef _WIN32
const void* requestClockInfo = reinterpret_cast<const void*>(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;
}