From bee29aec36c8fad3edfd2bc9246e74b0c0c9cf01 Mon Sep 17 00:00:00 2001 From: "Tikhomirova, Kseniya" Date: Thu, 15 Jun 2023 05:35:36 -0700 Subject: [PATCH] fix name Signed-off-by: Tikhomirova, Kseniya --- include/ur.py | 2 +- include/ur_api.h | 2 +- scripts/core/common.yml | 2 +- source/common/ur_params.hpp | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/ur.py b/include/ur.py index cc026f53ca..dd178365b8 100644 --- a/include/ur.py +++ b/include/ur.py @@ -233,7 +233,7 @@ class ur_structure_type_v(IntEnum): DEVICE_PARTITION_PROPERTIES = 26 ## ::ur_device_partition_properties_t EXP_COMMAND_BUFFER_DESC = 27 ## ::ur_exp_command_buffer_desc_t EXP_SAMPLER_MIP_PROPERTIES = 28 ## ::ur_exp_sampler_mip_properties_t - MEM_OBJ_PROPERTIES = 29 ## ::ur_kernel_arg_mem_obj_properties_t + KERNEL_ARG_MEM_OBJ_PROPERTIES = 29 ## ::ur_kernel_arg_mem_obj_properties_t class ur_structure_type_t(c_int): def __str__(self): diff --git a/include/ur_api.h b/include/ur_api.h index 9d259f3f39..a6b9f62b34 100644 --- a/include/ur_api.h +++ b/include/ur_api.h @@ -257,7 +257,7 @@ typedef enum ur_structure_type_t { UR_STRUCTURE_TYPE_DEVICE_PARTITION_PROPERTIES = 26, ///< ::ur_device_partition_properties_t UR_STRUCTURE_TYPE_EXP_COMMAND_BUFFER_DESC = 27, ///< ::ur_exp_command_buffer_desc_t UR_STRUCTURE_TYPE_EXP_SAMPLER_MIP_PROPERTIES = 28, ///< ::ur_exp_sampler_mip_properties_t - UR_STRUCTURE_TYPE_MEM_OBJ_PROPERTIES = 29, ///< ::ur_kernel_arg_mem_obj_properties_t + UR_STRUCTURE_TYPE_KERNEL_ARG_MEM_OBJ_PROPERTIES = 29, ///< ::ur_kernel_arg_mem_obj_properties_t /// @cond UR_STRUCTURE_TYPE_FORCE_UINT32 = 0x7fffffff /// @endcond diff --git a/scripts/core/common.yml b/scripts/core/common.yml index c7dd338810..af0af4aaff 100644 --- a/scripts/core/common.yml +++ b/scripts/core/common.yml @@ -331,7 +331,7 @@ etors: desc: $x_exp_command_buffer_desc_t - name: EXP_SAMPLER_MIP_PROPERTIES desc: $x_exp_sampler_mip_properties_t - - name: MEM_OBJ_PROPERTIES + - name: KERNEL_ARG_MEM_OBJ_PROPERTIES desc: $x_kernel_arg_mem_obj_properties_t --- #-------------------------------------------------------------------------- type: struct diff --git a/source/common/ur_params.hpp b/source/common/ur_params.hpp index 70d62fcf67..1acd701851 100644 --- a/source/common/ur_params.hpp +++ b/source/common/ur_params.hpp @@ -761,8 +761,8 @@ inline std::ostream &operator<<(std::ostream &os, os << "UR_STRUCTURE_TYPE_EXP_SAMPLER_MIP_PROPERTIES"; break; - case UR_STRUCTURE_TYPE_MEM_OBJ_PROPERTIES: - os << "UR_STRUCTURE_TYPE_MEM_OBJ_PROPERTIES"; + case UR_STRUCTURE_TYPE_KERNEL_ARG_MEM_OBJ_PROPERTIES: + os << "UR_STRUCTURE_TYPE_KERNEL_ARG_MEM_OBJ_PROPERTIES"; break; default: os << "unknown enumerator"; @@ -946,7 +946,7 @@ inline void serializeStruct(std::ostream &os, const void *ptr) { ur_params::serializePtr(os, pstruct); } break; - case UR_STRUCTURE_TYPE_MEM_OBJ_PROPERTIES: { + case UR_STRUCTURE_TYPE_KERNEL_ARG_MEM_OBJ_PROPERTIES: { const ur_kernel_arg_mem_obj_properties_t *pstruct = (const ur_kernel_arg_mem_obj_properties_t *)ptr; ur_params::serializePtr(os, pstruct);