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
Este commit está contenido en:
@@ -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;
|
||||
}
|
||||
|
||||
Referencia en una nueva incidencia
Block a user