Skip to content

Commit 9f95522

Browse files
Fixed long lines
1 parent 715a506 commit 9f95522

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

dpctl/sycl.pxd

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,25 @@ cdef extern from "CL/sycl.hpp" namespace "sycl":
4343
cdef extern from "syclinterface/dpctl_sycl_type_casters.hpp" \
4444
namespace "dpctl::syclinterface":
4545
# 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)
4850

4951
# 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)
5256

5357
# 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)
5662

5763
# 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

Comments
 (0)