map/to/from

Forum for the public review of the OpenMP 4.0 API Release Candidates. (Read Only)
Forum rules
This forum is now closed.

map/to/from

Postby jakub » Mon Mar 25, 2013 10:45 am

On pp152-153, map clause is said to allow array sections and not allow threadprivate variables. Shouldn't the text say something about sections of threadprivate arrays too? What about side-effects in array section lower-bound and/or length? In many places the OpenMP standard says that it is unspecified or undefined how many times and when exactly side-effects from some clauses are evaluated. Is this the case for depend/map clauses with array sections too (then the text should mention it somewhere), or must they be evaluated exactly once per each occurrence of them in any of the clauses? What about sequence points if there are multiple side-effects in multiple clauses?
Also, the description of to/from clauses doesn't seem to talk about array sections (and the restriction that one can't use threadprivate vars one can perhaps imply from the fact that there needs to be some mapping already), array they allowed also for to/from? If yes, shouldn't the standard mention it (and similarly the threadprivate restrictions)?
jakub
 
Posts: 74
Joined: Fri Oct 26, 2007 3:19 am

Return to OpenMP 4.0 Public Review Release Candidates

Who is online

Users browsing this forum: No registered users and 2 guests