const qualified static data members in firstprivate clause

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

const qualified static data members in firstprivate clause

Postby jakub » Mon Jul 11, 2011 12:33 pm

Just want to double check, are static data members with const qualified type with no mutable member allowed in firstprivate or not? Similarly what about a variable with const qualified type with no mutable member that appears in threadprivate directive? My understanding is that some objects may be predetermined based on multiple conditions in the list, if more than one rule applies then the first in the list wins. But for the exceptions which variables may be listed in firstprivate it isn't obvious that only const predetermined variables for which earlier rules didn't apply behave so.
jakub
 
Posts: 74
Joined: Fri Oct 26, 2007 3:19 am

Re: const qualified static data members in firstprivate clau

Postby aduran » Thu Jul 28, 2011 4:33 am

Hi Jakub,

We have discussed this and the intent was such that the answer to your first question is YES and to the second one is NO.

We'll put additional wording in the next release to clear these ambiguities. Thanks for pointing it out.
aduran
 
Posts: 12
Joined: Wed Oct 24, 2007 8:33 am
Location: Barcelona, Spain


Return to OpenMP 3.1 API Specifications

Who is online

Users browsing this forum: No registered users and 2 guests