P4 to Git Change 1504202 by gandryey@gera-w8 on 2018/01/16 16:11:56

SWDEV-116219 - Allocating memory on GPU is 2x slower on win10 RS than on win7
	- Fix failures on Win7 32 bit after extending resource cache size. Disable SVM region reservation for 32 bits, since OCL2.0 is disabled for 32bit.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#581 edit
Tá an tiomantas seo le fáil i:
foreman
2018-01-16 16:22:43 -05:00
tuismitheoir 501bfb890e
tiomantas 3e6aee2c93
+5 -1
Féach ar an gComhad
@@ -838,9 +838,13 @@ bool Device::create(CALuint ordinal, CALuint numOfDevices) {
smallMemSystem = true;
}
bool noSVM = LP64_SWITCH(true, false) && !GPU_FORCE_OCL20_32BIT;
// Open GSL device
if (!open(ordinal, appProfile_.enableHighPerformanceState(),
smallMemSystem || appProfile_.reportAsOCL12Device() || (OPENCL_VERSION < 200))) {
(smallMemSystem ||
appProfile_.reportAsOCL12Device() ||
(OPENCL_VERSION < 200) ||
noSVM))) {
return false;
}