Ask Your Question

Should I use OpenMP or parallel_for_ for a simple for loop ?

asked 2015-01-12 02:26:20 -0500

sup gravatar image

OpenMP is simplier since I only need to add one line, what is the advantage of parallel_for ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-01-12 06:38:46 -0500

AlexanderShishkov gravatar image

E.g. iOS doesn't support OpenMP. parallel_for_ supports different frameworks for parallelisation (TBB, GCD, Concurrency, ...) So you code for parallelisation can be more cross platform than OpenMP.

edit flag offensive delete link more


thanks that makes sense

sup gravatar imagesup ( 2015-01-16 02:27:56 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-01-12 02:26:20 -0500

Seen: 18,105 times

Last updated: Jan 12 '15