Skip to content

Commit 759c1d0

Browse files
Added wait call to cppclass queue and cppclass even in sycl.pxd
1 parent f6a1f06 commit 759c1d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dpctl/sycl.pxd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ from . cimport _backend as dpctl_backend
2222

2323
cdef extern from "sycl/sycl.hpp" namespace "sycl":
2424
cdef cppclass queue "sycl::queue":
25+
void wait() nogil
2526
pass
2627

2728
cdef cppclass device "sycl::device":
@@ -31,6 +32,7 @@ cdef extern from "sycl/sycl.hpp" namespace "sycl":
3132
pass
3233

3334
cdef cppclass event "sycl::event":
35+
void wait() nogil
3436
pass
3537

3638
cdef cppclass kernel "sycl::kernel":

0 commit comments

Comments
 (0)