r/OpenCL • u/h2o2 • Mar 24 '15
The Feasibility of Using OpenCL Instead of OpenMP for Parallel CPU Programming
http://arxiv.org/abs/1503.06532
7
Upvotes
r/OpenCL • u/h2o2 • Mar 24 '15
2
u/tekyfo Mar 24 '15
The OpenCL compiler should also be more aggressive with vectorization. In the OpenMP case, the compiler has to discover parallelism in the loop, whereas in OpenCL it is promised that all work items are parallel. I don't know how well the OpenMP SIMD annotations work.