@@ -43,17 +43,25 @@ cdef extern from "CL/sycl.hpp" namespace "sycl":
43
43
cdef extern from " syclinterface/dpctl_sycl_type_casters.hpp" \
44
44
namespace " dpctl::syclinterface" :
45
45
# queue
46
- cdef dpctl_backend.DPCTLSyclQueueRef wrap_queue " dpctl::syclinterface::wrap<sycl::queue>" (const queue * )
47
- cdef queue * unwrap_queue " dpctl::syclinterface::unwrap<sycl::queue>" (dpctl_backend.DPCTLSyclQueueRef)
46
+ cdef dpctl_backend.DPCTLSyclQueueRef wrap_queue \
47
+ " dpctl::syclinterface::wrap<sycl::queue>" (const queue * )
48
+ cdef queue * unwrap_queue " dpctl::syclinterface::unwrap<sycl::queue>" (
49
+ dpctl_backend.DPCTLSyclQueueRef)
48
50
49
51
# device
50
- cdef dpctl_backend.DPCTLSyclDeviceRef wrap_device " dpctl::syclinterface::wrap<sycl::device>" (const device * )
51
- cdef device * unwrap_device " dpctl::syclinterface::unwrap<sycl::device>" (dpctl_backend.DPCTLSyclDeviceRef)
52
+ cdef dpctl_backend.DPCTLSyclDeviceRef wrap_device \
53
+ " dpctl::syclinterface::wrap<sycl::device>" (const device * )
54
+ cdef device * unwrap_device " dpctl::syclinterface::unwrap<sycl::device>" (
55
+ dpctl_backend.DPCTLSyclDeviceRef)
52
56
53
57
# context
54
- cdef dpctl_backend.DPCTLSyclContextRef wrap_context " dpctl::syclinterface::wrap<sycl::context>" (const context * )
55
- cdef context * unwrap_context " dpctl::syclinterface::unwrap<sycl::context>" (dpctl_backend.DPCTLSyclContextRef)
58
+ cdef dpctl_backend.DPCTLSyclContextRef wrap_context \
59
+ " dpctl::syclinterface::wrap<sycl::context>" (const context * )
60
+ cdef context * unwrap_context " dpctl::syclinterface::unwrap<sycl::context>" (
61
+ dpctl_backend.DPCTLSyclContextRef)
56
62
57
63
# event
58
- cdef dpctl_backend.DPCTLSyclEventRef wrap_event " dpctl::syclinterface::wrap<sycl::event>" (const event * )
59
- cdef event * unwrap_event " dpctl::syclinterface::unwrap<sycl::event>" (dpctl_backend.DPCTLSyclEventRef)
64
+ cdef dpctl_backend.DPCTLSyclEventRef wrap_event \
65
+ " dpctl::syclinterface::wrap<sycl::event>" (const event * )
66
+ cdef event * unwrap_event " dpctl::syclinterface::unwrap<sycl::event>" (
67
+ dpctl_backend.DPCTLSyclEventRef)
0 commit comments