Skip to content

Commit

Permalink
Align wait_and_throw from queue:: and event::
Browse files Browse the repository at this point in the history
The wording of these two functions had diverged over time, and needed to be
pulled together again.
  • Loading branch information
Pennycook committed Feb 13, 2025
1 parent f99eca5 commit 455e044
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions adoc/chapters/programming_interface.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4145,13 +4145,10 @@ void wait_and_throw()
_Effects:_ Blocks the calling thread until all commands previously submitted to
this queue have completed.
Synchronous errors are reported through SYCL exceptions.
Any unconsumed <<async-error,asynchronous errors>> are passed to the
<<async-handler>> associated with the queue or to the <<async-handler>>
associated with the queue's context.
If no user defined asynchronous error handler is associated with the queue or
its context, then an implementation-defined default <<async-handler>> is called
to handle any errors, as described in <<subsubsec:exception.nohandler>>.

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

.[apidef]#queue::throw_asynchronous#
Expand Down

0 comments on commit 455e044

Please sign in to comment.