Skip to content

Commit

Permalink
[Device][OpenCL] add CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST to … (
Browse files Browse the repository at this point in the history
#17472)

[Device][OpenCL] add CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST to check function

Co-authored-by: pfk-beta <[email protected]>
  • Loading branch information
pfk-beta and pfk-beta authored Oct 21, 2024
1 parent 72f5d98 commit b38417c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/runtime/opencl/opencl_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ inline const char* CLGetErrorString(cl_int error) {
return "CL_INVALID_BUFFER_SIZE";
case CL_INVALID_MIP_LEVEL:
return "CL_INVALID_MIP_LEVEL";
case CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST:
return "CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST";
default:
return "Unknown OpenCL error code";
}
Expand Down

0 comments on commit b38417c

Please sign in to comment.