From 07c088618299636be02a47c1d01965b30b03977d Mon Sep 17 00:00:00 2001 From: foreman Date: Fri, 6 Feb 2015 16:56:12 -0500 Subject: [PATCH] P4 to Git Change 1119692 by xcui@merged_opencl_jxcwin on 2015/02/06 16:20:16 EPR #413091 - created backing store in the maptarget and move the commit SVM memory funciton into alloMaptarget function. Added sync funtion in map so that it can handle mGPU cases. Affected files ... ... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#9 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#116 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#205 edit [ROCm/clr commit: e6c8a9a4bd423a05b9f694cdd8858b82686ec3f7] --- projects/clr/opencl/api/opencl/amdocl/cl_svm.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/projects/clr/opencl/api/opencl/amdocl/cl_svm.cpp b/projects/clr/opencl/api/opencl/amdocl/cl_svm.cpp index 20fe587d3f..fa8f673f47 100644 --- a/projects/clr/opencl/api/opencl/amdocl/cl_svm.cpp +++ b/projects/clr/opencl/api/opencl/amdocl/cl_svm.cpp @@ -756,7 +756,6 @@ RUNTIME_ENTRY(cl_int, clEnqueueSVMMap, ( return CL_INVALID_CONTEXT; } - svmMem->commitSvmMemory(); offset = static_cast
(svm_ptr) - static_cast
(svmMem->getSvmPtr()); if (offset < 0 || offset + size > svmMem->getSize()) { LogWarning("wrong svm address ");