- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everybody!
Does Intel Fortran Compiler support OpenMP declare reduction directive like C compilers?
For example:
#pragma omp declare reduction(mymin : int : omp_out = omp_in < omp_out ? omp_in : omp_out)
#pragma omp parallel for reduction(mymin:result)
for (i=0; i<N; i++) {
result = data;
}
if so, could you please write a short example or tell me why it does not supported like described in OpenMP specs?
Many thanks!
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Intel Fortran does not yet support the OpenMP "declare reduction" directive, although is being looked at for a future major release.
--Lorri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I see. Thank you for reply.
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