P4 to Git Change 1547668 by lmoriche@lmoriche_opencl_dev2 on 2018/04/29 14:51:30
SWDEV-145570 - [HIP] - Set SVM pointer arguments by passing a reference to the value to match other T_POINTER arguments.
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_svm.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/kernel.cpp#25 edit
[ROCm/clr commit: 02e28ed975]
Этот коммит содержится в:
@@ -928,7 +928,7 @@ RUNTIME_ENTRY(cl_int, clSetKernelArgSVMPointer,
|
||||
// -verifying system pointers (if supported) requires matching the pointer
|
||||
// against the address space of the current process.
|
||||
|
||||
as_amd(kernel)->parameters().set(static_cast<size_t>(arg_index), sizeof(arg_value), arg_value,
|
||||
as_amd(kernel)->parameters().set(static_cast<size_t>(arg_index), sizeof(arg_value), &arg_value,
|
||||
true);
|
||||
return CL_SUCCESS;
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user