Skip to content

Commit

Permalink
Add missing barrier exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Bensuo committed Jun 17, 2024
1 parent 56a88e0 commit 9fe7edf
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion sycl/doc/extensions/experimental/sycl_ext_oneapi_graph.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -1671,6 +1671,19 @@ on.
This function has the same semantics as `ext_oneapi_barrier(const
std::vector<event>&)`.

Parameters:

* `waitList` - List of dynamic event dependencies for this barrier.

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 `waitList` came from the same graph that the graph node
resulting from this command-group submission is associated with.

|
[source,c++]
----
Expand All @@ -1683,7 +1696,7 @@ This function has the same semantics as `depends_on(event)`.

Parameters:

* `depEvents` - Dynamic event dependency.
* `depEvent` - Dynamic event dependency.

Exceptions:

Expand Down

0 comments on commit 9fe7edf

Please sign in to comment.