Skip to content

Commit b9048ac

Browse files
committed
Small typo fix for ERROR_ADAPTER_SPECIFIC spec description
1 parent 9d3bce6 commit b9048ac

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
@@ -495,7 +495,7 @@ typedef enum ur_result_t {
495495
UR_RESULT_ERROR_INVALID_USM_SIZE = 64, ///< Invalid USM size
496496
UR_RESULT_ERROR_OBJECT_ALLOCATION_FAILURE = 65, ///< Objection allocation failure
497497
UR_RESULT_ERROR_ADAPTER_SPECIFIC = 66, ///< An adapter specific warning/error has been reported and can be
498-
///< retrieved via the urPlatformGetLastError entry point.
498+
///< retrieved via the urAdapterGetLastError entry point.
499499
UR_RESULT_ERROR_LAYER_NOT_PRESENT = 67, ///< A requested layer was not found by the loader.
500500
UR_RESULT_ERROR_IN_EVENT_LIST_EXEC_STATUS = 68, ///< An event in the provided wait list has ::UR_EVENT_STATUS_ERROR.
501501
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
@@ -269,7 +269,7 @@ etors:
269269
desc: "Objection allocation failure"
270270
- name: ERROR_ADAPTER_SPECIFIC
271271
desc: "An adapter specific warning/error has been reported and can be retrieved
272-
via the urPlatformGetLastError entry point."
272+
via the urAdapterGetLastError entry point."
273273
- name: ERROR_LAYER_NOT_PRESENT
274274
desc: "A requested layer was not found by the loader."
275275
- 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)