P4 to Git Change 1122235 by xcui@merged_opencl_jxcwin on 2015/02/13 17:28:52

EPR #413091 - move commit svm host memory into allocmaptarget and added hostmemref as the backing store  for multiple gpu cases

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_memobj.cpp#73 edit
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#280 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#118 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#115 edit
Tá an tiomantas seo le fáil i:
foreman
2015-02-13 17:49:06 -05:00
tuismitheoir 96a1e9388f
tiomantas 072a375629
D'athraigh 3 comhad le 19 breiseanna agus 4 scriosta
+3
Féach ar an gComhad
@@ -3902,6 +3902,9 @@ HSAILKernel::loadArguments(
}
if (nativeMem) {
gpuMem = *reinterpret_cast<Memory* const*>(paramaddr);
if (NULL != gpuMem) {
mem = gpuMem->owner();
}
}
else {
mem = *reinterpret_cast<amd::Memory* const*>(paramaddr);