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
Этот коммит содержится в:
foreman
2014-09-23 16:03:00 -04:00
родитель 9fe49c3516
Коммит 81b9faadba
+5
Просмотреть файл
@@ -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