Skip to content

Commit 489f323

Browse files
committed
[OCL] Fix use of CL_RETURN_ON_FAILURE instead of UR_RETURN_ON_FAILURE
1 parent 227a5ed commit 489f323

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/adapters/opencl/kernel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urKernelSetExecInfo(
320320
switch (propName) {
321321
case UR_KERNEL_EXEC_INFO_USM_INDIRECT_ACCESS: {
322322
if (*(static_cast<const ur_bool_t *>(pPropValue)) == true) {
323-
CL_RETURN_ON_FAILURE(usmSetIndirectAccess(hKernel));
323+
UR_RETURN_ON_FAILURE(usmSetIndirectAccess(hKernel));
324324
}
325325
return UR_RESULT_SUCCESS;
326326
}

0 commit comments

Comments
 (0)