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: e6c8a9a4bd]
이 커밋은 다음에 포함됨:
foreman가 2015-02-06 16:56:12 -05:00를 커밋했습니다
1 부모 fb5a2cf1c3
커밋 07c0886182
1 파일이 변경됨
-1
-1
파일 보기
@@ -756,7 +756,6 @@ RUNTIME_ENTRY(cl_int, clEnqueueSVMMap, (
return CL_INVALID_CONTEXT;
}
svmMem->commitSvmMemory();
offset = static_cast<address>(svm_ptr) - static_cast<address>(svmMem->getSvmPtr());
if (offset < 0 || offset + size > svmMem->getSize()) {
LogWarning("wrong svm address ");