- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there,
I'm just starting with OpenMP and have a question concerning array operations:
can the 'omp workshare' construct be used in ifort (12.0.4.196), how does it compare to do-loops? What is recommended?
Cheers
-Ralf
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't recommend that you use OMP WORKSHARE for this purpose, as the compiler currently treats it as SINGLE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
workshare has been nominally implemented for some time in ifort. This doesn't mean it is the best way to accomplish all of the tasks for which it has been advocated. To give only one example, the auto-parallelization of MATMUL by automatic MKL substitution is more likely to prove effective than the workshare parallelization. This is far too wide a topic to generalize.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page