Skip to content

Commit 59377b4

Browse files
committed
Inline _check_peer_access helper function
1 parent 417889d commit 59377b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpctl/_sycl_device.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ cdef void _init_helper(_SyclDevice device, DPCTLSyclDeviceRef DRef) except *:
217217
raise RuntimeError("Descriptor 'max_work_item_sizes3d' not available")
218218

219219

220-
cdef bint _check_peer_access(SyclDevice dev, SyclDevice peer) except *:
220+
cdef inline bint _check_peer_access(SyclDevice dev, SyclDevice peer) except *:
221221
"""
222222
Check peer access ahead of time to avoid errors from unified runtime or
223223
compiler implementation.

0 commit comments

Comments
 (0)