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:
@@ -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);
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir