Skip to content

Commit

Permalink
add an error code
Browse files Browse the repository at this point in the history
  • Loading branch information
yingcong-wu committed Mar 20, 2024
1 parent 8799d8e commit 0248d87
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/adapters/opencl/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ ur_result_t mapCLErrorToUR(cl_int Result) {
return UR_RESULT_ERROR_INVALID_BINARY;
case CL_INVALID_KERNEL_NAME:
return UR_RESULT_ERROR_INVALID_KERNEL_NAME;
case CL_INVALID_KERNEL_ARGS:
return UR_RESULT_ERROR_INVALID_KERNEL_ARGS;
case CL_BUILD_PROGRAM_FAILURE:
return UR_RESULT_ERROR_PROGRAM_BUILD_FAILURE;
case CL_INVALID_WORK_GROUP_SIZE:
Expand Down

0 comments on commit 0248d87

Please sign in to comment.