You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The specification states that for event::wait_and_throw that;
Any unconsumed asynchronous errors from any context that the event was waiting on executions from will be passed to the async_handler associated with the context. If no user defined async_handler is associated with the context, then an implementation-defined default async_handler is called to handle any errors, as described in Section 4.13.1.2.
In this it only mentions the contexts of associated events. However, Section 4.13.1.3 states that async handlers of queues should have higher priority than those on contexts, if the runtime can make the association.
Should event::wait_and_throw use similar wording to that used in queue::wait_and_throw? That is;
Any unconsumed asynchronous errors will be passed to the async_handler associated with the queue or enclosing context. If no user defined async_handler is associated with the queue or enclosing context, then an implementation-defined default async_handler is called to handle any errors, as described in Section 4.13.1.2.
The text was updated successfully, but these errors were encountered:
One of the event::wait_and_throw test cases makes the assumption that
queue async handlers are somehow propagated to contexts. However,
according to [Section 4.13.1.3](https://registry.khronos.org/SYCL/specs/sycl-2020/html/sycl-2020.html#_priorities_of_async_handlers)
there are priorities to which async handlers are to be used, where
queue is the highest, assuming the runtime can make the association
between events and queues. This commit changes the test to follow the
aforementioned section, assuming the queues are associated with the
events. See also KhronosGroup/SYCL-Docs#299.
Signed-off-by: Larsen, Steffen <[email protected]>
The specification states that for
event::wait_and_throw
that;In this it only mentions the contexts of associated events. However, Section 4.13.1.3 states that async handlers of queues should have higher priority than those on contexts, if the runtime can make the association.
Should
event::wait_and_throw
use similar wording to that used inqueue::wait_and_throw
? That is;The text was updated successfully, but these errors were encountered: