From a8cd88a7ac6f414172b812f97dc304987e4fcf84 Mon Sep 17 00:00:00 2001 From: Petr Vesely Date: Tue, 4 Jul 2023 12:04:24 +0100 Subject: [PATCH] [UR] Fix spelling --- include/ur.py | 4 ++-- include/ur_api.h | 16 ++++++++-------- scripts/core/common.yml | 2 +- scripts/core/kernel.yml | 2 +- scripts/core/program.yml | 6 +++--- source/loader/ur_libapi.cpp | 12 ++++++------ source/ur_api.cpp | 12 ++++++------ 7 files changed, 27 insertions(+), 27 deletions(-) diff --git a/include/ur.py b/include/ur.py index 0b2ffc286a..2d4247c19a 100644 --- a/include/ur.py +++ b/include/ur.py @@ -142,7 +142,7 @@ class ur_result_v(IntEnum): ERROR_DEVICE_LOST = 20 ## Device hung, reset, was removed, or adapter update occurred ERROR_DEVICE_REQUIRES_RESET = 21 ## Device requires a reset ERROR_DEVICE_IN_LOW_POWER_STATE = 22 ## Device currently in low power state - ERROR_DEVICE_PARTITION_FAILED = 23 ## Device paritioning failed + ERROR_DEVICE_PARTITION_FAILED = 23 ## Device partitioning failed ERROR_INVALID_DEVICE_PARTITION_COUNT = 24 ## Invalid counts provided with ::UR_DEVICE_PARTITION_BY_COUNTS ERROR_INVALID_WORK_ITEM_SIZE = 25 ## Invalid work item size ERROR_INVALID_WORK_DIMENSION = 26 ## Invalid work dimension @@ -1572,7 +1572,7 @@ def __str__(self): ############################################################################### -## @brief Kernel Cache Configuartion. +## @brief Kernel Cache Configuration. class ur_kernel_cache_config_v(IntEnum): DEFAULT = 0 ## No preference for SLM or data cache. LARGE_SLM = 1 ## Large Shared Local Memory (SLM) size. diff --git a/include/ur_api.h b/include/ur_api.h index b6feefbc33..4ad70c9456 100644 --- a/include/ur_api.h +++ b/include/ur_api.h @@ -165,7 +165,7 @@ typedef enum ur_result_t { UR_RESULT_ERROR_DEVICE_LOST = 20, ///< Device hung, reset, was removed, or adapter update occurred UR_RESULT_ERROR_DEVICE_REQUIRES_RESET = 21, ///< Device requires a reset UR_RESULT_ERROR_DEVICE_IN_LOW_POWER_STATE = 22, ///< Device currently in low power state - UR_RESULT_ERROR_DEVICE_PARTITION_FAILED = 23, ///< Device paritioning failed + UR_RESULT_ERROR_DEVICE_PARTITION_FAILED = 23, ///< Device partitioning failed UR_RESULT_ERROR_INVALID_DEVICE_PARTITION_COUNT = 24, ///< Invalid counts provided with ::UR_DEVICE_PARTITION_BY_COUNTS UR_RESULT_ERROR_INVALID_WORK_ITEM_SIZE = 25, ///< Invalid work item size UR_RESULT_ERROR_INVALID_WORK_DIMENSION = 26, ///< Invalid work dimension @@ -3469,7 +3469,7 @@ urProgramCreateWithBinary( /// /// @details /// - The application may call this function from simultaneous threads. -/// - Following a succesful call to this entry point, the program passed +/// - Following a successful call to this entry point, the program passed /// will contain a binary of the ::UR_PROGRAM_BINARY_TYPE_EXECUTABLE type /// for each device in `hContext`. /// @@ -3501,9 +3501,9 @@ urProgramBuild( /// /// @details /// - The application may call this function from simultaneous threads. -/// - Following a succesful call to this entry point `hProgram` will contain -/// a binary of the ::UR_PROGRAM_BINARY_TYPE_COMPILED_OBJECT type for each -/// device in `hContext`. +/// - Following a successful call to this entry point `hProgram` will +/// contain a binary of the ::UR_PROGRAM_BINARY_TYPE_COMPILED_OBJECT type +/// for each device in `hContext`. /// /// @remarks /// _Analogues_ @@ -3533,8 +3533,8 @@ urProgramCompile( /// /// @details /// - The application may call this function from simultaneous threads. -/// - Following a succesful call to this entry point the program returned in -/// `phProgram` will contain a binary of the +/// - Following a successful call to this entry point the program returned +/// in `phProgram` will contain a binary of the /// ::UR_PROGRAM_BINARY_TYPE_EXECUTABLE type for each device in /// `hContext`. /// @@ -4054,7 +4054,7 @@ typedef enum ur_kernel_sub_group_info_t { } ur_kernel_sub_group_info_t; /////////////////////////////////////////////////////////////////////////////// -/// @brief Kernel Cache Configuartion. +/// @brief Kernel Cache Configuration. typedef enum ur_kernel_cache_config_t { UR_KERNEL_CACHE_CONFIG_DEFAULT = 0, ///< No preference for SLM or data cache. UR_KERNEL_CACHE_CONFIG_LARGE_SLM = 1, ///< Large Shared Local Memory (SLM) size. diff --git a/scripts/core/common.yml b/scripts/core/common.yml index 9797c18ced..c2901f7c68 100644 --- a/scripts/core/common.yml +++ b/scripts/core/common.yml @@ -171,7 +171,7 @@ etors: - name: ERROR_DEVICE_IN_LOW_POWER_STATE desc: "Device currently in low power state" - name: ERROR_DEVICE_PARTITION_FAILED - desc: "Device paritioning failed" + desc: "Device partitioning failed" - name: ERROR_INVALID_DEVICE_PARTITION_COUNT desc: "Invalid counts provided with $X_DEVICE_PARTITION_BY_COUNTS" - name: ERROR_INVALID_WORK_ITEM_SIZE diff --git a/scripts/core/kernel.yml b/scripts/core/kernel.yml index cc659a2c1d..320410926e 100644 --- a/scripts/core/kernel.yml +++ b/scripts/core/kernel.yml @@ -160,7 +160,7 @@ etors: desc: "[uint32_t] Return SubGroup size required by Intel" --- #-------------------------------------------------------------------------- type: enum -desc: "Kernel Cache Configuartion." +desc: "Kernel Cache Configuration." class: $xKernel name: $x_kernel_cache_config_t etors: diff --git a/scripts/core/program.yml b/scripts/core/program.yml index ef548ded22..3ca6764238 100644 --- a/scripts/core/program.yml +++ b/scripts/core/program.yml @@ -159,7 +159,7 @@ analogue: - "**clBuildProgram**" details: - "The application may call this function from simultaneous threads." - - "Following a succesful call to this entry point, the program passed will contain a binary of the $X_PROGRAM_BINARY_TYPE_EXECUTABLE type for each device in `hContext`." + - "Following a successful call to this entry point, the program passed will contain a binary of the $X_PROGRAM_BINARY_TYPE_EXECUTABLE type for each device in `hContext`." params: - type: $x_context_handle_t name: hContext @@ -186,7 +186,7 @@ analogue: - "**clCompileProgram**" details: - "The application may call this function from simultaneous threads." - - "Following a succesful call to this entry point `hProgram` will contain a binary of the $X_PROGRAM_BINARY_TYPE_COMPILED_OBJECT type for each device in `hContext`." + - "Following a successful call to this entry point `hProgram` will contain a binary of the $X_PROGRAM_BINARY_TYPE_COMPILED_OBJECT type for each device in `hContext`." params: - type: $x_context_handle_t name: hContext @@ -213,7 +213,7 @@ analogue: - "**clLinkProgram**" details: - "The application may call this function from simultaneous threads." - - "Following a succesful call to this entry point the program returned in `phProgram` will contain a binary of the $X_PROGRAM_BINARY_TYPE_EXECUTABLE type for each device in `hContext`." + - "Following a successful call to this entry point the program returned in `phProgram` will contain a binary of the $X_PROGRAM_BINARY_TYPE_EXECUTABLE type for each device in `hContext`." params: - type: $x_context_handle_t name: hContext diff --git a/source/loader/ur_libapi.cpp b/source/loader/ur_libapi.cpp index 2f796c4549..238079ebe7 100644 --- a/source/loader/ur_libapi.cpp +++ b/source/loader/ur_libapi.cpp @@ -2576,7 +2576,7 @@ ur_result_t UR_APICALL urProgramCreateWithBinary( /// /// @details /// - The application may call this function from simultaneous threads. -/// - Following a succesful call to this entry point, the program passed +/// - Following a successful call to this entry point, the program passed /// will contain a binary of the ::UR_PROGRAM_BINARY_TYPE_EXECUTABLE type /// for each device in `hContext`. /// @@ -2617,9 +2617,9 @@ ur_result_t UR_APICALL urProgramBuild( /// /// @details /// - The application may call this function from simultaneous threads. -/// - Following a succesful call to this entry point `hProgram` will contain -/// a binary of the ::UR_PROGRAM_BINARY_TYPE_COMPILED_OBJECT type for each -/// device in `hContext`. +/// - Following a successful call to this entry point `hProgram` will +/// contain a binary of the ::UR_PROGRAM_BINARY_TYPE_COMPILED_OBJECT type +/// for each device in `hContext`. /// /// @remarks /// _Analogues_ @@ -2659,8 +2659,8 @@ ur_result_t UR_APICALL urProgramCompile( /// /// @details /// - The application may call this function from simultaneous threads. -/// - Following a succesful call to this entry point the program returned in -/// `phProgram` will contain a binary of the +/// - Following a successful call to this entry point the program returned +/// in `phProgram` will contain a binary of the /// ::UR_PROGRAM_BINARY_TYPE_EXECUTABLE type for each device in /// `hContext`. /// diff --git a/source/ur_api.cpp b/source/ur_api.cpp index 4a9acfcba4..4a9b80695a 100644 --- a/source/ur_api.cpp +++ b/source/ur_api.cpp @@ -2161,7 +2161,7 @@ ur_result_t UR_APICALL urProgramCreateWithBinary( /// /// @details /// - The application may call this function from simultaneous threads. -/// - Following a succesful call to this entry point, the program passed +/// - Following a successful call to this entry point, the program passed /// will contain a binary of the ::UR_PROGRAM_BINARY_TYPE_EXECUTABLE type /// for each device in `hContext`. /// @@ -2196,9 +2196,9 @@ ur_result_t UR_APICALL urProgramBuild( /// /// @details /// - The application may call this function from simultaneous threads. -/// - Following a succesful call to this entry point `hProgram` will contain -/// a binary of the ::UR_PROGRAM_BINARY_TYPE_COMPILED_OBJECT type for each -/// device in `hContext`. +/// - Following a successful call to this entry point `hProgram` will +/// contain a binary of the ::UR_PROGRAM_BINARY_TYPE_COMPILED_OBJECT type +/// for each device in `hContext`. /// /// @remarks /// _Analogues_ @@ -2232,8 +2232,8 @@ ur_result_t UR_APICALL urProgramCompile( /// /// @details /// - The application may call this function from simultaneous threads. -/// - Following a succesful call to this entry point the program returned in -/// `phProgram` will contain a binary of the +/// - Following a successful call to this entry point the program returned +/// in `phProgram` will contain a binary of the /// ::UR_PROGRAM_BINARY_TYPE_EXECUTABLE type for each device in /// `hContext`. ///