Skip to content

Commit 41357af

Browse files
committed
Align wait_and_throw from queue:: and event::
Cherry pick KhronosGroup#720 from main (cherry picked from commit eadc63e)
1 parent deeb61f commit 41357af

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

adoc/chapters/programming_interface.adoc

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4155,13 +4155,10 @@ void wait_and_throw()
41554155
_Effects:_ Blocks the calling thread until all commands previously submitted to
41564156
this queue have completed.
41574157
Synchronous errors are reported through SYCL exceptions.
4158-
Any unconsumed <<async-error,asynchronous errors>> are passed to the
4159-
<<async-handler>> associated with the queue or to the <<async-handler>>
4160-
associated with the queue's context.
4161-
If no user defined asynchronous error handler is associated with the queue or
4162-
its context, then an implementation-defined default <<async-handler>> is called
4163-
to handle any errors, as described in <<subsubsec:exception.nohandler>>.
41644158

4159+
At least all unconsumed <<async-error,asynchronous errors>> held by this queue
4160+
(or its associated context) are passed to the appropriate <<async-handler>> as
4161+
described in <<subsubsec:async.handler.priorities>>.
41654162
'''
41664163

41674164
.[apidef]#queue::throw_asynchronous#

0 commit comments

Comments
 (0)