Skip to content

Commit

Permalink
Small typo fix for ERROR_ADAPTER_SPECIFIC spec description
Browse files Browse the repository at this point in the history
  • Loading branch information
omarahmed1111 committed Jul 9, 2024
1 parent 9d3bce6 commit b9048ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/ur_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ typedef enum ur_result_t {
UR_RESULT_ERROR_INVALID_USM_SIZE = 64, ///< Invalid USM size
UR_RESULT_ERROR_OBJECT_ALLOCATION_FAILURE = 65, ///< Objection allocation failure
UR_RESULT_ERROR_ADAPTER_SPECIFIC = 66, ///< An adapter specific warning/error has been reported and can be
///< retrieved via the urPlatformGetLastError entry point.
///< retrieved via the urAdapterGetLastError entry point.
UR_RESULT_ERROR_LAYER_NOT_PRESENT = 67, ///< A requested layer was not found by the loader.
UR_RESULT_ERROR_IN_EVENT_LIST_EXEC_STATUS = 68, ///< An event in the provided wait list has ::UR_EVENT_STATUS_ERROR.
UR_RESULT_ERROR_DEVICE_NOT_AVAILABLE = 69, ///< Device in question has `::UR_DEVICE_INFO_AVAILABLE == false`
Expand Down
2 changes: 1 addition & 1 deletion scripts/core/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ etors:
desc: "Objection allocation failure"
- name: ERROR_ADAPTER_SPECIFIC
desc: "An adapter specific warning/error has been reported and can be retrieved
via the urPlatformGetLastError entry point."
via the urAdapterGetLastError entry point."
- name: ERROR_LAYER_NOT_PRESENT
desc: "A requested layer was not found by the loader."
- name: ERROR_IN_EVENT_LIST_EXEC_STATUS
Expand Down
2 changes: 1 addition & 1 deletion source/adapters/opencl/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "logger/ur_logger.hpp"
namespace cl_adapter {

/* Global variables for urPlatformGetLastError() */
/* Global variables for urAdapterGetLastError() */
thread_local int32_t ErrorMessageCode = 0;
thread_local char ErrorMessage[MaxMessageSize];

Expand Down

0 comments on commit b9048ac

Please sign in to comment.