P4 to Git Change 1119795 by xcui@merged_opencl_jxcwin on 2015/02/06 20:33:37
EPR #413091 - Back out changelist 1119692
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpumemory.cpp#117 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#206 edit
[ROCm/clr commit: fc11110f0f]
This commit is contained in:
@@ -756,6 +756,7 @@ 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 ");
|
||||
|
||||
مرجع در شماره جدید
Block a user