Consequences of assumed-size being predetermined

Discussion of the OpenMP 3.1 draft specifications closed May 1, 2011. (Read only)

Consequences of assumed-size being predetermined

Postby jakub » Fri Mar 11, 2011 7:10 am

Why is:
Assumed-size arrays may not appear in a {private,firstprivate,lastprivate,reduction} clause.
mentioned in 2.9.3.{3,4,5,6}? When assumed-size is predetermined, 2.9.1.1 says:
Variables with predetermined data-sharing attributes may not be listed in data-sharing attribute clauses, except for the cases listed below.
and thus saying explicitly that assumed-size arrays are not permitted is redundant.
I know this change was already in 3.0, but 3.0 forgot to explicitly say that assumed-size is predetermined shared in the normative text.
jakub
 
Posts: 74
Joined: Fri Oct 26, 2007 3:19 am

Re: Consequences of assumed-size being predetermined

Postby ejd » Fri Mar 11, 2011 8:44 am

Thank you for your comment. You are correct - it is being stated in multiple places and is a holdover from previous specifications. Now that assumed size arrays are listed as predetermined there really is no need to continue listing them in other areas. I have placed this on the list of items to be reviewed before the specification is finalized.
ejd
 
Posts: 1025
Joined: Wed Jan 16, 2008 7:21 am


Return to Draft 3.1 Public Comment

Who is online

Users browsing this forum: Yahoo [Bot] and 0 guests