Skip to content

Commit

Permalink
Extend IGetErrorString()
Browse files Browse the repository at this point in the history
Add cases for `CL_INCOMPATIBLE_COMMAND_QUEUE_KHR` and
`CL_INVALID_SYNC_POINT_WAIT_LIST_KHR`.

Signed-off-by: Gorazd Sumkovski <gorazd.sumkovski@arm.com>
  • Loading branch information
gorazd-sumkovski-arm committed Sep 12, 2024
1 parent c32a767 commit 48153a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test_common/harness/errorHelpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ const char *IGetErrorString(int clErrorCode)
case CL_INVALID_SPEC_ID: return "CL_INVALID_SPEC_ID";
case CL_MAX_SIZE_RESTRICTION_EXCEEDED:
return "CL_MAX_SIZE_RESTRICTION_EXCEEDED";
case CL_INCOMPATIBLE_COMMAND_QUEUE_KHR:
return "CL_INCOMPATIBLE_COMMAND_QUEUE_KHR";
case CL_INVALID_SYNC_POINT_WAIT_LIST_KHR:
return "CL_INVALID_SYNC_POINT_WAIT_LIST_KHR";
default: return "(unknown)";
}
}
Expand Down

0 comments on commit 48153a7

Please sign in to comment.