[llvm] [libsycl] extend sycl::event API with get_wait_list, wait_and_throw and default ctor (PR #205860)
Alexey Bader via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 1 18:02:56 PDT 2026
================
@@ -166,14 +166,26 @@ class _LIBSYCL_EXPORT queue {
/// exceptions.
void wait();
+ /// Blocks the calling thread until all commands previously submitted to this
+ /// queue have completed. Synchronous errors are reported through SYCL
+ /// exceptions. At least all unconsumed asynchronous errors held by this queue
+ /// are passed to the appropriate async_handler.
+ void wait_and_throw();
----------------
bader wrote:
The description says that only sycl::event API is extended. I don't expect API changes for other classes in this PR.
Alternatively, you can update PR description, but I prefer to commit changes in other classes separately.
https://github.com/llvm/llvm-project/pull/205860
More information about the llvm-commits
mailing list