Skip to content

Commit 9986987

Browse files
authored
[SYCL][Graph] Adding new graph enqueue function to spec
1 parent 1cf95e3 commit 9986987

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

sycl/doc/extensions/experimental/sycl_ext_oneapi_enqueue_functions.asciidoc

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -709,6 +709,31 @@ optimize such partial barriers.
709709
_{endnote}_]
710710
|====
711711

712+
==== Command Graph
713+
714+
The functions in this section are only available if the
715+
link:./sycl_ext_oneapi_graph.asciidoc[
716+
sycl_ext_oneapi_graph] extension is supported.
717+
718+
|====
719+
a|
720+
[frame=all,grid=none]
721+
!====
722+
a!
723+
[source,c++]
724+
----
725+
namespace sycl::ext::oneapi::experimental {
726+
727+
void submit(sycl::queue q, command_graph<graph_state::executable> g);
728+
729+
}
730+
----
731+
!====
732+
_Constraints_: Device and context associated with queue need to be identical
733+
to device and context provided at command graph creation.
734+
735+
_Effects_: Submits an executable command graph to the `sycl::queue`.
736+
|====
712737

713738
== Issues
714739

0 commit comments

Comments
 (0)