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 ago --- Quote Start --- However, this got me tinkering though. I did try changing the CL_MEM_READ_WRITE to CL_MEM_WRITE_ONLY. --- Quote End --- That sounds like the host compiler/runtime was assuming a false dependency between the answer[] buffers, either because the buffers are defined as an array, or because you are using host pointers. I always use CL_MEM_READ_WRITE for the buffers being accessed by parallel kernels, and never had such problem. However, I do not use host pointers.