Skip to content

Commit bee29ae

Browse files
fix name
Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova@intel.com>
1 parent 8539350 commit bee29ae

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

include/ur.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ class ur_structure_type_v(IntEnum):
233233
DEVICE_PARTITION_PROPERTIES = 26 ## ::ur_device_partition_properties_t
234234
EXP_COMMAND_BUFFER_DESC = 27 ## ::ur_exp_command_buffer_desc_t
235235
EXP_SAMPLER_MIP_PROPERTIES = 28 ## ::ur_exp_sampler_mip_properties_t
236-
MEM_OBJ_PROPERTIES = 29 ## ::ur_kernel_arg_mem_obj_properties_t
236+
KERNEL_ARG_MEM_OBJ_PROPERTIES = 29 ## ::ur_kernel_arg_mem_obj_properties_t
237237

238238
class ur_structure_type_t(c_int):
239239
def __str__(self):

include/ur_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ typedef enum ur_structure_type_t {
257257
UR_STRUCTURE_TYPE_DEVICE_PARTITION_PROPERTIES = 26, ///< ::ur_device_partition_properties_t
258258
UR_STRUCTURE_TYPE_EXP_COMMAND_BUFFER_DESC = 27, ///< ::ur_exp_command_buffer_desc_t
259259
UR_STRUCTURE_TYPE_EXP_SAMPLER_MIP_PROPERTIES = 28, ///< ::ur_exp_sampler_mip_properties_t
260-
UR_STRUCTURE_TYPE_MEM_OBJ_PROPERTIES = 29, ///< ::ur_kernel_arg_mem_obj_properties_t
260+
UR_STRUCTURE_TYPE_KERNEL_ARG_MEM_OBJ_PROPERTIES = 29, ///< ::ur_kernel_arg_mem_obj_properties_t
261261
/// @cond
262262
UR_STRUCTURE_TYPE_FORCE_UINT32 = 0x7fffffff
263263
/// @endcond

scripts/core/common.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ etors:
331331
desc: $x_exp_command_buffer_desc_t
332332
- name: EXP_SAMPLER_MIP_PROPERTIES
333333
desc: $x_exp_sampler_mip_properties_t
334-
- name: MEM_OBJ_PROPERTIES
334+
- name: KERNEL_ARG_MEM_OBJ_PROPERTIES
335335
desc: $x_kernel_arg_mem_obj_properties_t
336336
--- #--------------------------------------------------------------------------
337337
type: struct

source/common/ur_params.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -761,8 +761,8 @@ inline std::ostream &operator<<(std::ostream &os,
761761
os << "UR_STRUCTURE_TYPE_EXP_SAMPLER_MIP_PROPERTIES";
762762
break;
763763

764-
case UR_STRUCTURE_TYPE_MEM_OBJ_PROPERTIES:
765-
os << "UR_STRUCTURE_TYPE_MEM_OBJ_PROPERTIES";
764+
case UR_STRUCTURE_TYPE_KERNEL_ARG_MEM_OBJ_PROPERTIES:
765+
os << "UR_STRUCTURE_TYPE_KERNEL_ARG_MEM_OBJ_PROPERTIES";
766766
break;
767767
default:
768768
os << "unknown enumerator";
@@ -946,7 +946,7 @@ inline void serializeStruct(std::ostream &os, const void *ptr) {
946946
ur_params::serializePtr(os, pstruct);
947947
} break;
948948

949-
case UR_STRUCTURE_TYPE_MEM_OBJ_PROPERTIES: {
949+
case UR_STRUCTURE_TYPE_KERNEL_ARG_MEM_OBJ_PROPERTIES: {
950950
const ur_kernel_arg_mem_obj_properties_t *pstruct =
951951
(const ur_kernel_arg_mem_obj_properties_t *)ptr;
952952
ur_params::serializePtr(os, pstruct);

0 commit comments

Comments
 (0)