P4 to Git Change 1502648 by gandryey@gera-ocl-lc on 2018/01/11 13:59:40

SWDEV-116219 - Allocating memory on GPU is 2x slower on win10 RS than on win7
	- Remove 512MB limit for resource cache to avoid expensive KMD memory allocations in Win10 RS

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#358 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#40 edit
这个提交包含在:
foreman 于 2018-01-11 14:11:44 -05:00 提交
1 父节点 21de56b925
当前提交 4c99d307eb
2 个文件已更改
+1 -9

没有与搜索条件相匹配的文件

@@ -419,7 +419,6 @@ bool Settings::create(const CALdeviceattribs& calAttr, bool reportAsOCL12Device,
} else {
resourceCacheSize_ = std::max((calAttr.localRAM / 8) * Mi, GPU_RESOURCE_CACHE_SIZE * Mi);
}
resourceCacheSize_ = std::min(resourceCacheSize_, 512 * Mi);
#endif
// Override current device settings