Forum Discussion
Altera_Forum
Honored Contributor
8 years agoIf the tasks do not depend on each other such as using channels or pipes, then they should all run immediately one after the other (appearing to launch almost at the same time) once event1 has been completed. Enqueuing only places the task in the command queue and are executed sequentially as a FIFO without blocking on the host. If task2 depends on task1, some sort of management needs to be handled through events, channels, or barriers.
So ideally it would look like this, having them overlap each other right from the start:
| Task_3
| Task_2
| Task_1
|------------------------