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":
6767 _UINT64_T ' DPCTL_UINT64_T' ,
6868 _FLOAT ' DPCTL_FLOAT32_T' ,
6969 _DOUBLE ' DPCTL_FLOAT64_T' ,
70- _VOID_PTR ' DPCTL_VOID_PTR'
70+ _VOID_PTR ' DPCTL_VOID_PTR' ,
71+ _LOCAL_ACCESSOR ' DPCTL_LOCAL_ACCESSOR'
7172
7273 ctypedef enum _queue_property_type ' DPCTLQueuePropertyType' :
7374 _DEFAULT_PROPERTY ' DPCTL_DEFAULT_PROPERTY'
Original file line number Diff line number Diff line change @@ -233,6 +233,15 @@ cdef class _kernel_arg_type:
233233 _arg_data_type._VOID_PTR
234234 )
235235
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+
236245
237246kernel_arg_type = _kernel_arg_type()
238247
Original file line number Diff line number Diff line change @@ -274,3 +274,4 @@ def test_kernel_arg_type():
274274 _check_kernel_arg_type_instance (kernel_arg_type .dpctl_float32 )
275275 _check_kernel_arg_type_instance (kernel_arg_type .dpctl_float64 )
276276 _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