Task construct data-sharing attribute clarification

Discuss the OpenMP 3.0 API Specifications with the OpenMP Arch. Review Board. (Read Only)

Task construct data-sharing attribute clarification

Postby nathanweeks » Sun Mar 14, 2010 7:04 pm

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
http://weeks.public.iastate.edu/
nathanweeks
 
Posts: 41
Joined: Sun May 17, 2009 6:19 am
Location: Iowa State University

Re: Task construct data-sharing attribute clarification

Postby aduran » Wed Mar 17, 2010 2:11 am

Nathan,

Thanks for catching that. I'll put it forward to the rest of the Committee to provide a fix for the next version.
aduran
 
Posts: 12
Joined: Wed Oct 24, 2007 8:33 am
Location: Barcelona, Spain


Return to OpenMP 3.0 API Specifications

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest