File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
plugins/unified_runtime/ur/adapters/level_zero Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 92
92
// 12.30 Added PI_EXT_INTEL_DEVICE_INFO_MEM_CHANNEL_SUPPORT device info query.
93
93
// 12.31 Added PI_EXT_CODEPLAY_DEVICE_INFO_MAX_REGISTERS_PER_WORK_GROUP device
94
94
// info query.
95
- // 12 .32 Removed backwards compatibility of piextQueueCreateWithNativeHandle and
95
+ // 13 .32 Removed backwards compatibility of piextQueueCreateWithNativeHandle and
96
96
// piextQueueGetNativeHandle
97
+ // 14.33 Added new parameter (memory object properties) to
98
+ // piextKernelSetArgMemObj
97
99
98
- #define _PI_H_VERSION_MAJOR 13
99
- #define _PI_H_VERSION_MINOR 32
100
+ #define _PI_H_VERSION_MAJOR 14
101
+ #define _PI_H_VERSION_MINOR 33
100
102
101
103
#define _PI_STRING_HELPER (a ) #a
102
104
#define _PI_CONCAT (a, b ) _PI_STRING_HELPER(a.b)
Original file line number Diff line number Diff line change @@ -684,11 +684,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urKernelSetArgMemObj(
684
684
685
685
ur_mem_handle_t_::access_mode_t UrAccessMode = ur_mem_handle_t_::read_write;
686
686
if (Properties) {
687
- assert (Properties->stype ==
688
- UR_STRUCTURE_TYPE_KERNEL_ARG_MEM_OBJ_PROPERTIES);
689
687
switch (Properties->memoryAccess ) {
690
- case 0 :
691
- break ;
692
688
case UR_MEM_FLAG_READ_WRITE:
693
689
UrAccessMode = ur_mem_handle_t_::read_write;
694
690
break ;
You can’t perform that action at this time.
0 commit comments