forked from intel/llvm
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Define behaviour of handler::depends_on()
Supporting `handler::depends_on()` to track edges would make it easier for users to express USM dependencies in the record & replay model. This could be implemented by the runtime mapping default constructed `sycl::event`s returned by queue recording to internal nodes. When one of these events 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. This addressed spec feedback at intel#5626 (comment) Closes #34
- Loading branch information
Showing
1 changed file
with
22 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters