Forum Discussion
Altera_Forum
Honored Contributor
8 years agoAh, I put the wrong code. Suppose,
clEnqueueTask(command, task1, 0, NULL, &eventtask1); clEnqueueTask(command, task2, 0, NULL, &eventtask2); clEnqueueTask(command, task3, 0, NULL, &eventtask3); Say, Task 1 load 1 Million floats from global memory and channel pass it to task 2. Task 2 then perform summation and channel it to Task 3 Task 3 then write back to Global memory.