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


[ROCm/clr commit: 072a375629]
Этот коммит содержится в:
foreman
2015-02-13 17:49:06 -05:00
родитель 2c92d4e2e8
Коммит d4106ee51e
3 изменённых файлов: 19 добавлений и 4 удалений
+3
Просмотреть файл
@@ -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);