TaskGraph naming #504
-
Good day. Why is TaskGraph called so instead of TaskQueue? Seems this class plays the role of a command queue. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @andrii0lomakin . By default, TornadoVM takes care of scheduling. However, developers can control where to execute and parameters for execution using the execution plan. |
Beta Was this translation helpful? Give feedback.
Hi @andrii0lomakin .
TaskGraph
is a much higher abstraction compared to command queues. We can think about command queues as implementation details. The idea behind task-graphs is that task within the graph can be scheduled in different order and different devices by analysing the data dependencies across tasks. In fact, TornadoVM can use different command queues per task.By default, TornadoVM takes care of scheduling. However, developers can control where to execute and parameters for execution using the execution plan.