P4 to Git Change 1080034 by jatang@jatang-ocl-lnx2 on 2014/09/23 15:47:25

EPR #406216 - Revert CL#1076975 for Linux for now due to ASIC hang.

	Keep the change for Windows.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#283 edit


[ROCm/clr commit: 81b9faadba]
This commit is contained in:
foreman
2014-09-23 16:03:00 -04:00
parent a8d5a654c9
commit fd8e2d9984
@@ -155,7 +155,12 @@ Settings::create(
threadTraceEnable_ = false;
// Save resource cache size
#ifdef ATI_OS_LINUX
// Due to EPR#406216, set the default value for Linux for now
resourceCacheSize_ = GPU_RESOURCE_CACHE_SIZE * Mi;
#else
resourceCacheSize_ = std::max((calAttr.localRAM / 8) * Mi, GPU_RESOURCE_CACHE_SIZE * Mi);
#endif
if (calAttr.doublePrecision) {
// Report FP_FAST_FMA define if double precision HW