Skip to content

Commit a59e60f

Browse files
authored
Merge pull request #1356 from Naghasan/victor/fix_ur_return
[OCL] Fix use of CL_RETURN_ON_FAILURE instead of UR_RETURN_ON_FAILURE
2 parents a2757b2 + b79d115 commit a59e60f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/adapters/opencl/kernel.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urKernelSetExecInfo(
321321
switch (propName) {
322322
case UR_KERNEL_EXEC_INFO_USM_INDIRECT_ACCESS: {
323323
if (*(static_cast<const ur_bool_t *>(pPropValue)) == true) {
324-
CL_RETURN_ON_FAILURE(usmSetIndirectAccess(hKernel));
324+
UR_RETURN_ON_FAILURE(usmSetIndirectAccess(hKernel));
325325
}
326326
return UR_RESULT_SUCCESS;
327327
}

0 commit comments

Comments
 (0)