Should I use OpenMP or parallel_for_ for a simple for loop ?
OpenMP is simplier since I only need to add one line, what is the advantage of parallel_for ?
OpenMP is simplier since I only need to add one line, what is the advantage of parallel_for ?
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.
Asked: 2015-01-12 02:26:20 -0600
Seen: 18,311 times
Last updated: Jan 12 '15
Concurrency framework explanation?
How to optimize medianBlur using parallel_for? [closed]
Will a parallel_for work for Android ?
How to use lambda as a parameter to parallel_for_
How to Multiply cv::Mat with mask
meaning of nstripes parameter in parallel_for_ in OpenCV3