Skip to content

Commit 17aa04d

Browse files
authored
Merge pull request #1836 from omarahmed1111/small-typo-fix-for-ADAPTER_SPECIFIC-code
Small typo fix for ERROR_ADAPTER_SPECIFIC spec description
2 parents 45ad7c5 + b9048ac commit 17aa04d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

include/ur_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ typedef enum ur_result_t {
506506
UR_RESULT_ERROR_INVALID_USM_SIZE = 64, ///< Invalid USM size
507507
UR_RESULT_ERROR_OBJECT_ALLOCATION_FAILURE = 65, ///< Objection allocation failure
508508
UR_RESULT_ERROR_ADAPTER_SPECIFIC = 66, ///< An adapter specific warning/error has been reported and can be
509-
///< retrieved via the urPlatformGetLastError entry point.
509+
///< retrieved via the urAdapterGetLastError entry point.
510510
UR_RESULT_ERROR_LAYER_NOT_PRESENT = 67, ///< A requested layer was not found by the loader.
511511
UR_RESULT_ERROR_IN_EVENT_LIST_EXEC_STATUS = 68, ///< An event in the provided wait list has ::UR_EVENT_STATUS_ERROR.
512512
UR_RESULT_ERROR_DEVICE_NOT_AVAILABLE = 69, ///< Device in question has `::UR_DEVICE_INFO_AVAILABLE == false`

scripts/core/common.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ etors:
275275
desc: "Objection allocation failure"
276276
- name: ERROR_ADAPTER_SPECIFIC
277277
desc: "An adapter specific warning/error has been reported and can be retrieved
278-
via the urPlatformGetLastError entry point."
278+
via the urAdapterGetLastError entry point."
279279
- name: ERROR_LAYER_NOT_PRESENT
280280
desc: "A requested layer was not found by the loader."
281281
- name: ERROR_IN_EVENT_LIST_EXEC_STATUS

source/adapters/opencl/common.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include "logger/ur_logger.hpp"
1313
namespace cl_adapter {
1414

15-
/* Global variables for urPlatformGetLastError() */
15+
/* Global variables for urAdapterGetLastError() */
1616
thread_local int32_t ErrorMessageCode = 0;
1717
thread_local char ErrorMessage[MaxMessageSize];
1818

0 commit comments

Comments
 (0)