Skip to content

Commit 4a0c171

Browse files
SyclEvent._wait static function to use _Wait, not _WaitAndThrow
1 parent e885838 commit 4a0c171

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpctl/_sycl_event.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ cdef class SyclEvent(_SyclEvent):
218218

219219
@staticmethod
220220
cdef void _wait(SyclEvent event):
221-
with nogil: DPCTLEvent_WaitAndThrow(event._event_ref)
221+
with nogil: DPCTLEvent_Wait(event._event_ref)
222222

223223
@staticmethod
224224
def wait_for(event):

0 commit comments

Comments
 (0)