You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SYCL][Graph] Enable host-task update in graphs (#16853)
- Update spec wording to allow updating host-task function in graphs
- Support host-tasks in dynamic command-groups
- Support host-tasks in whole graph update
- Add E2E tests for both scenarios
- Fix passing incorrect accessors to graph update command after update
which could cause issues if the graph was destroyed while the scheduler
still had graph execution commands alive
Individual nodes of an executable graph can be updated directly. Depending on the attribute
854
-
of the node that requires updating, different API's should be used:
882
+
Individual nodes of an executable graph can be updated directly. Depending on the attribute or `node_type` of the node that requires updating, different API's should be used:
855
883
856
884
====== Parameter Updates
857
885
886
+
_Supported Node Types: Kernel_
887
+
858
888
Parameters to individual nodes in a graph in the `executable` state can be
859
889
updated between graph executions using dynamic parameters. A `dynamic_parameter`
860
890
object is created with a modifiable state graph and an initial value for the
@@ -884,6 +914,8 @@ will maintain the graphs data dependencies.
884
914
885
915
====== Execution Range Updates
886
916
917
+
_Supported Node Types: Kernel_
918
+
887
919
Another configuration that can be updated is the execution range of the
888
920
kernel, this can be set through `node::update_nd_range()` or
889
921
`node::update_range()` but does not require any prior registration.
@@ -897,10 +929,13 @@ code may be defined as operating in a different dimension.
897
929
898
930
====== Command Group Updates
899
931
900
-
The command-groups of a kernel node can be updated using dynamic command-groups.
901
-
Dynamic command-groups allow replacing the command-group function of a kernel
902
-
node with a different one. This effectively allows updating the kernel function
903
-
and/or the kernel execution range.
932
+
_Supported Node Types: Kernel, Host-task_
933
+
934
+
The command-groups of a kernel node can be updated using
0 commit comments