forked from intel/llvm
-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
Description
Supporting handler::depends_on
to track edges would make it easier for users to express USM dependencies in the record &
replay model. See intel#5626 (comment)
This could be implemented by the runtime mapping default constructed sycl::event
s returned by queue recording to internal nodes. When one of these sycl::event
s is later passed into handler::depends_on
the runtime can check which node in the graph
the event is associated with, and error if it is not an event returned from a queue recording.
Whether we decide to support this mechanism or not, we should update the spec to make the interaction with handler::depends_on
clear.