Skip to content

Commit 2fc2172

Browse files
authored
[SYCL][Graph] Adding submit with event to spec
1 parent 9986987 commit 2fc2172

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

sycl/doc/extensions/experimental/sycl_ext_oneapi_enqueue_functions.asciidoc

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -733,6 +733,27 @@ _Constraints_: Device and context associated with queue need to be identical
733733
to device and context provided at command graph creation.
734734

735735
_Effects_: Submits an executable command graph to the `sycl::queue`.
736+
737+
a|
738+
[frame=all,grid=none]
739+
!====
740+
a!
741+
[source,c++]
742+
----
743+
namespace sycl::ext::oneapi::experimental {
744+
745+
sycl::event submit_with_event(sycl::queue q, command_graph<graph_state::executable> g);
746+
747+
}
748+
----
749+
!====
750+
_Constraints_: Device and context associated with queue need to be identical
751+
to device and context provided at command graph creation.
752+
753+
_Effects_: Submits an executable command graph to the `sycl::queue`.
754+
755+
_Returns_: A `sycl::event` associated with the submitted command.
756+
736757
|====
737758

738759
== Issues

0 commit comments

Comments
 (0)