Skip to content

Commit a5293f8

Browse files
committed
[DOC][SYCL][Graph] need warmup before recording if necessary
sometimes, the existing code does some extra work which should not be recorded, and so a warmup is needed for this case.
1 parent 5245c75 commit a5293f8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

sycl/doc/extensions/experimental/sycl_ext_oneapi_graph.asciidoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,10 @@ Each of these mechanisms for constructing a graph have their own advantages, so
169169
having both APIs available allows the user to pick the one which is most
170170
suitable for them. The queue recording API allows quicker porting of existing
171171
applications, and can capture external work that is submitted to a queue, for
172-
example via library function calls. While the explicit API can better express
173-
what data is internal to the graph for optimization, and dependencies don't need
174-
to be inferred.
172+
example via library function calls. A warmup is required before the recording
173+
if the existing code does some extra work, which is not targeted for recording,
174+
in the first call. The explicit API can better express what data is internal to
175+
the graph for optimization, and dependencies don't need to be inferred.
175176

176177
It is valid to combine these two mechanisms, however it is invalid to modify
177178
a graph using the explicit API while that graph is currently recording commands

0 commit comments

Comments
 (0)