Skip to content

Commit d6dfd0c

Browse files
guoyejunEwanC
andauthored
[SYCL][Graph][DOC] add an edge case for record&replay mode (#12916)
Co-authored-by: Ewan Crawford <[email protected]>
1 parent 75300ab commit d6dfd0c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sycl/doc/extensions/experimental/sycl_ext_oneapi_graph.asciidoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,15 +275,16 @@ been submitted.
275275

276276
| Edge
277277
| An edge in a queue recorded graph is expressed through command group
278-
dependencies in one of two ways. Firstly, through buffer accessors that
278+
dependencies in one of three ways. Firstly, through buffer accessors that
279279
represent data dependencies between two command groups captured as nodes.
280280
Secondly, by using the `handler::depends_on()` mechanism inside a command group
281281
captured as a node. However, for an event passed to `handler::depends_on()` to
282282
create an edge, it must be an event returned from a queue
283283
submission captured by the same graph. Otherwise, a synchronous error will be
284284
thrown with error code `invalid`. `handler::depends_on()` can be
285285
used to express edges when a user is working with USM memory rather than SYCL
286-
buffers.
286+
buffers. Thirdly, for a graph recorded with an in-order queue, an edge is added
287+
automatically between two sequential command groups submitted to the in-order queue.
287288
|===
288289

289290
==== Sub-Graph

0 commit comments

Comments
 (0)