Task construct data-sharing attribute clarification

Discuss the OpenMP 3.0 API Specifications with the OpenMP Arch. Review Board. (Read Only)
Forum rules
The OpenMP Forums are now closed to new posts. Please visit Stack Overflow if you are in need of help: https://stackoverflow.com/questions/tagged/openmp
Posts: 41
Joined: Sun May 17, 2009 6:19 am
Location: Iowa State University

Task construct data-sharing attribute clarification

Post by nathanweeks »

A very minor criticism: The OpenMP 3.0 API spec, on p. 79, lines 11-14, seems to imply that
the task construct accepts a lastprivate or reduction clause:
Variables used as loop iteration variables in sequential loops in a parallel
construct or a task construct may be listed in private, firstprivate,
lastprivate, shared, or reduction clauses on the parallel or task
construct, and on enclosed constructs, subject to other restrictions.
Nathan Weeks
Iowa State University HPC Group

Posts: 12
Joined: Wed Oct 24, 2007 8:33 am
Location: Barcelona, Spain

Re: Task construct data-sharing attribute clarification

Post by aduran »


Thanks for catching that. I'll put it forward to the rest of the Committee to provide a fix for the next version.