From 9fe7edfa9c1cb6cd6fbc63c6b62a8f24d8339cbf Mon Sep 17 00:00:00 2001 From: Ben Tracy Date: Mon, 17 Jun 2024 16:01:35 +0100 Subject: [PATCH] Add missing barrier exceptions --- .../experimental/sycl_ext_oneapi_graph.asciidoc | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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: