We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab2e8d1 commit f8237d4Copy full SHA for f8237d4
sycl/source/detail/queue_impl.hpp
@@ -422,7 +422,8 @@ class queue_impl : public std::enable_shared_from_this<queue_impl> {
422
/// Synchronous errors will be reported through SYCL exceptions.
423
/// Asynchronous errors will be passed to the async_handler passed to the
424
/// queue on construction. If no async_handler was provided then
425
- /// asynchronous exceptions will be passed to the default async_handler.
+ /// asynchronous exceptions will be passed to the async_handler associated
426
+ /// with the context if present, or the default async_handler otherwise.
427
void throw_asynchronous() {
428
exception_list Exceptions =
429
getDeviceImpl().flushAsyncExceptions(weak_from_this());
0 commit comments