Skip to content

Commit

Permalink
Merge pull request #1356 from Naghasan/victor/fix_ur_return
Browse files Browse the repository at this point in the history
[OCL] Fix use of CL_RETURN_ON_FAILURE instead of UR_RETURN_ON_FAILURE
  • Loading branch information
kbenzie authored Feb 27, 2024
2 parents a2757b2 + b79d115 commit a59e60f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/adapters/opencl/kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urKernelSetExecInfo(
switch (propName) {
case UR_KERNEL_EXEC_INFO_USM_INDIRECT_ACCESS: {
if (*(static_cast<const ur_bool_t *>(pPropValue)) == true) {
CL_RETURN_ON_FAILURE(usmSetIndirectAccess(hKernel));
UR_RETURN_ON_FAILURE(usmSetIndirectAccess(hKernel));
}
return UR_RESULT_SUCCESS;
}
Expand Down

0 comments on commit a59e60f

Please sign in to comment.