Skip to content

Commit a264297

Browse files
oleksandr-pavlykndgrigorian
authored andcommitted
Export _md_local_accessor Cython struct, mapped to C struct MDLocalAccessor
1 parent c6b00c7 commit a264297

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
@@ -359,6 +359,12 @@ cdef extern from "syclinterface/dpctl_sycl_kernel_bundle_interface.h":
359359

360360

361361
cdef extern from "syclinterface/dpctl_sycl_queue_interface.h":
362+
ctypedef struct _md_local_accessor 'MDLocalAccessor':
363+
size_t ndim
364+
_arg_data_type dpctl_type_id
365+
size_t dim0
366+
size_t dim1
367+
size_t dim2
362368
cdef bool DPCTLQueue_AreEq(const DPCTLSyclQueueRef QRef1,
363369
const DPCTLSyclQueueRef QRef2)
364370
cdef DPCTLSyclQueueRef DPCTLQueue_Create(

0 commit comments

Comments
 (0)