Skip to content

Commit

Permalink
Fix rendering, minor wording changes
Browse files Browse the repository at this point in the history
- Disallow host_task events in dynamic_events
  • Loading branch information
Bensuo committed Jun 27, 2024
1 parent 9fe7edf commit 7b2e2a0
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions sycl/doc/extensions/experimental/sycl_ext_oneapi_graph.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -1726,8 +1726,8 @@ Exceptions:
* Throws synchronously with error code `invalid` if this function is called from
a normal SYCL command-group submission.

* Throws synchronously with error code `invalid` if any of the `sycl::event`s
associated with `depEvents` came from the same graph that the graph node
* Throws synchronously with error code `invalid` if any of the `sycl::event`
objects associated with `depEvents` came from the same graph that the graph node
resulting from this command-group submission is associated with.

|===
Expand Down Expand Up @@ -1806,14 +1806,20 @@ Parameters:

* `syclEvent` - The SYCL event to associate this `dynamic_event` with.

Exceptions:


* Throws synchronously with error code `invalid` if `syclEvent` is an event
returned from enqueuing a `host_task`.

|
[source,c++]
----
void update(const event& syclEvent);
----

| Updates the SYCL event associated with `dynamic_event`. This update will be
reflected immediately in the associated modifiable graph nodes. An executable
| Updates the SYCL event associated with this `dynamic_event`. This update will
be reflected immediately in the associated modifiable graph nodes. An executable
graph can then be updated to reflect these new event dependencies using
<<executable-graph-update, Executable Graph Update>>.

Expand All @@ -1825,7 +1831,10 @@ Exceptions:

* Throws synchronously with error code `invalid` if `syclEvent` is an event
obtained from a queue submission which was recorded to the same graph any of the
`node`s associated with this `dynamic_event` are from.
`node` objects associated with this `dynamic_event` are from.

* Throws synchronously with error code `invalid` if `syclEvent` is an event
returned from enqueuing a `host_task`.


|===
Expand Down

0 comments on commit 7b2e2a0

Please sign in to comment.