Skip to content

Commit f8237d4

Browse files
committed
Fix comment
Signed-off-by: Larsen, Steffen <[email protected]>
1 parent ab2e8d1 commit f8237d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sycl/source/detail/queue_impl.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,8 @@ class queue_impl : public std::enable_shared_from_this<queue_impl> {
422422
/// Synchronous errors will be reported through SYCL exceptions.
423423
/// Asynchronous errors will be passed to the async_handler passed to the
424424
/// queue on construction. If no async_handler was provided then
425-
/// asynchronous exceptions will be passed to the default async_handler.
425+
/// asynchronous exceptions will be passed to the async_handler associated
426+
/// with the context if present, or the default async_handler otherwise.
426427
void throw_asynchronous() {
427428
exception_list Exceptions =
428429
getDeviceImpl().flushAsyncExceptions(weak_from_this());

0 commit comments

Comments
 (0)