Skip to content

Commit

Permalink
Merge pull request #1836 from omarahmed1111/small-typo-fix-for-ADAPTE…
Browse files Browse the repository at this point in the history
…R_SPECIFIC-code

Small typo fix for ERROR_ADAPTER_SPECIFIC spec description
  • Loading branch information
aarongreig committed Sep 25, 2024
2 parents 45ad7c5 + b9048ac commit 17aa04d
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 @@ -506,7 +506,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 @@ -275,7 +275,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 17aa04d

Please sign in to comment.