File tree 1 file changed +3
-2
lines changed
sycl/doc/extensions/experimental 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -275,15 +275,16 @@ been submitted.
275
275
276
276
| Edge
277
277
| 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
279
279
represent data dependencies between two command groups captured as nodes.
280
280
Secondly, by using the `handler::depends_on()` mechanism inside a command group
281
281
captured as a node. However, for an event passed to `handler::depends_on()` to
282
282
create an edge, it must be an event returned from a queue
283
283
submission captured by the same graph. Otherwise, a synchronous error will be
284
284
thrown with error code `invalid`. `handler::depends_on()` can be
285
285
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.
287
288
|===
288
289
289
290
==== Sub-Graph
You can’t perform that action at this time.
0 commit comments