diff --git a/sycl/doc/extensions/experimental/sycl_ext_oneapi_graph.asciidoc b/sycl/doc/extensions/experimental/sycl_ext_oneapi_graph.asciidoc index 80e70d17726f..6314480f8cfe 100644 --- a/sycl/doc/extensions/experimental/sycl_ext_oneapi_graph.asciidoc +++ b/sycl/doc/extensions/experimental/sycl_ext_oneapi_graph.asciidoc @@ -1671,6 +1671,19 @@ on. This function has the same semantics as `ext_oneapi_barrier(const std::vector&)`. +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++] ---- @@ -1683,7 +1696,7 @@ This function has the same semantics as `depends_on(event)`. Parameters: -* `depEvents` - Dynamic event dependency. +* `depEvent` - Dynamic event dependency. Exceptions: