Skip to content

Commit

Permalink
[UR] Fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
Petr Vesely committed Jul 4, 2023
1 parent 2eae79a commit a8cd88a
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 27 deletions.
4 changes: 2 additions & 2 deletions include/ur.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down
16 changes: 8 additions & 8 deletions include/ur_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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`.
///
Expand Down Expand Up @@ -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_
Expand Down Expand Up @@ -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`.
///
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion scripts/core/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/core/kernel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions scripts/core/program.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
12 changes: 6 additions & 6 deletions source/loader/ur_libapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
///
Expand Down Expand Up @@ -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_
Expand Down Expand Up @@ -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`.
///
Expand Down
12 changes: 6 additions & 6 deletions source/ur_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
///
Expand Down Expand Up @@ -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_
Expand Down Expand Up @@ -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`.
///
Expand Down

0 comments on commit a8cd88a

Please sign in to comment.