Forum Discussion
Altera_Forum
Honored Contributor
8 years agocan single work items kernels run in parallel on same device
Can single work item kernels run in parallel on the same device (i.e. on the same board). I've been trying to get a very simple example of task parallelism working but have not been able to ...
Altera_Forum
Honored Contributor
8 years agoI did try the longer runs. The result is the same (i.e. no apparent parallelism).
Here's a snapshot w/8 kernels. $ bin/host 100000000 8 Task:0 complete (3437.999 ms) Task:1 complete (6875.815 ms) Task:2 complete (10313.553 ms) Task:3 complete (13751.281 ms) Task:4 complete (17189.009 ms) Task:5 complete (20626.756 ms) Task:6 complete (24064.509 ms) Task:7 complete (27502.250 ms) Time: 27502.254 ms (3437.782 ms / kernel) Sum 0-100000000.000000 (step 1.000000) = 5000000050000000.000000 Sum 0-100000000.000000 (step 1.000000) = 5000000050000000.000000 Sum 0-100000000.000000 (step 1.000000) = 5000000050000000.000000 Sum 0-100000000.000000 (step 1.000000) = 5000000050000000.000000 Sum 0-100000000.000000 (step 1.000000) = 5000000050000000.000000 Sum 0-100000000.000000 (step 1.000000) = 5000000050000000.000000 Sum 0-100000000.000000 (step 1.000000) = 5000000050000000.000000 Sum 0-100000000.000000 (step 1.000000) = 5000000050000000.000000