diff --git a/sycl/doc/extensions/experimental/sycl_ext_oneapi_graph.asciidoc b/sycl/doc/extensions/experimental/sycl_ext_oneapi_graph.asciidoc index ff4a54d8832f..a6083ce4b324 100644 --- a/sycl/doc/extensions/experimental/sycl_ext_oneapi_graph.asciidoc +++ b/sycl/doc/extensions/experimental/sycl_ext_oneapi_graph.asciidoc @@ -890,8 +890,8 @@ updating command groups as described in the next section. The command-groups of a kernel node can be updated using dynamic command-groups. Dynamic command-groups allow replacing the command-group function of a kernel -node with a different one. This effectively allows updating the kernel binaries, the -argument types, the number of arguments and/or the execution ranges. +node with a different one. This effectively allows updating the kernel function +and/or the kernel execution range. Command-group updates are performed by creating an instance of the `dynamic_command_group` class. A dynamic command-group is created with a modifiable @@ -904,7 +904,7 @@ dynamic parameters can be used in command-group functions that are part of dynamic command-groups. Updates to such dynamic parameters will be reflected in the command-group functions once they are activated. -====== Finalizing updates +====== Committing Updates Updating a node using the methods mentioned above will take effect immediately for nodes in modifiable command-graphs. However, for graphs that are in the executable @@ -1343,9 +1343,9 @@ void update(node& node); ---- | Updates an executable graph node that corresponds to `node`. `node` must be a -kernel execution node. Kernel arguments and the command-group function of the -node will be updated inside the executable graph to reflect the current values -in `node`. +kernel execution node. The command-group function of the node will be updated, +inside the executable graph, to reflect the current values in `node`. This +includes the kernel function, the kernel nd-range and the kernel parameters". Updating these values will not change the structure of the graph. @@ -1377,9 +1377,10 @@ void update(const std::vector& nodes); ---- | Updates all executable graph nodes that corresponds to the nodes contained in -`nodes`. All nodes must be kernel nodes. Kernel arguments and the -command-group function of each node will be updated inside the executable graph -to reflect the current values in each node in `nodes`. +`nodes`. All nodes must be kernel nodes. The command-group function of each node +will be updated, inside the executable graph, to reflect the current values in +`nodes`. This includes the kernel function, the kernel nd-range and the kernel +parameters". Updating these values will not change the structure of the graph.