Skip to content

Commit b6d639a

Browse files
oleksandr-pavlykndgrigorian
authored andcommitted
Export _md_local_accessor Cython struct, mapped to C struct MDLocalAccessor
1 parent 96da90b commit b6d639a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dpctl/_backend.pxd

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,12 @@ cdef extern from "syclinterface/dpctl_sycl_kernel_bundle_interface.h":
362362

363363

364364
cdef extern from "syclinterface/dpctl_sycl_queue_interface.h":
365+
ctypedef struct _md_local_accessor 'MDLocalAccessor':
366+
size_t ndim
367+
_arg_data_type dpctl_type_id
368+
size_t dim0
369+
size_t dim1
370+
size_t dim2
365371
cdef bool DPCTLQueue_AreEq(const DPCTLSyclQueueRef QRef1,
366372
const DPCTLSyclQueueRef QRef2)
367373
cdef DPCTLSyclQueueRef DPCTLQueue_Create(

0 commit comments

Comments
 (0)