File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,8 @@ cdef extern from "syclinterface/dpctl_sycl_enum_types.h":
67
67
_UINT64_T ' DPCTL_UINT64_T' ,
68
68
_FLOAT ' DPCTL_FLOAT32_T' ,
69
69
_DOUBLE ' DPCTL_FLOAT64_T' ,
70
- _VOID_PTR ' DPCTL_VOID_PTR'
70
+ _VOID_PTR ' DPCTL_VOID_PTR' ,
71
+ _LOCAL_ACCESSOR ' DPCTL_LOCAL_ACCESSOR'
71
72
72
73
ctypedef enum _queue_property_type ' DPCTLQueuePropertyType' :
73
74
_DEFAULT_PROPERTY ' DPCTL_DEFAULT_PROPERTY'
Original file line number Diff line number Diff line change @@ -233,6 +233,15 @@ cdef class _kernel_arg_type:
233
233
_arg_data_type._VOID_PTR
234
234
)
235
235
236
+ @property
237
+ def dpctl_local_accessor (self ):
238
+ cdef str p_name = " dpctl_local_accessor"
239
+ return kernel_arg_type_attribute(
240
+ self ._name,
241
+ p_name,
242
+ _arg_data_type._LOCAL_ACCESSOR
243
+ )
244
+
236
245
237
246
kernel_arg_type = _kernel_arg_type()
238
247
Original file line number Diff line number Diff line change @@ -274,3 +274,4 @@ def test_kernel_arg_type():
274
274
_check_kernel_arg_type_instance (kernel_arg_type .dpctl_float32 )
275
275
_check_kernel_arg_type_instance (kernel_arg_type .dpctl_float64 )
276
276
_check_kernel_arg_type_instance (kernel_arg_type .dpctl_void_ptr )
277
+ _check_kernel_arg_type_instance (kernel_arg_type .dpctl_local_accessor )
You can’t perform that action at this time.
0 commit comments