Data sharing attributes

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

Data sharing attributes

Postby m_van_waveren » Fri Jun 25, 2010 10:19 am

Here is a question related to data sharing attributes in OpenMP 3.0

The bottom of 2.9.1.1 (Page 80) says :
Additional restrictions on the variables whose data-sharing
attributes cannot be implicitly determined in a task construct are
described in the Restrictions section of the firstprivate clause
(Section 2.9.3.4 on page 92).

Does this statement mean a variable implicitly determined
"firstprivate" in a task clause need to be restricted as firstprivate ?
In case the variable cannot be "firstprivate" because of the
restriction, is the program error ?
m_van_waveren
 
Posts: 9
Joined: Tue Dec 11, 2007 12:57 pm
Location: Toulouse, France

Re: Data sharing attributes

Postby Federico » Fri Jun 25, 2010 1:26 pm

The answer to both questions is yes.
Federico
 
Posts: 22
Joined: Wed Oct 24, 2007 6:39 am


Return to OpenMP 3.0 API Specifications

Who is online

Users browsing this forum: No registered users and 1 guest

cron