Data sharing attributes

Discuss the OpenMP 3.0 API Specifications with the OpenMP Arch. Review Board. (Read Only)
Forum rules
The OpenMP Forums are now closed to new posts. Please visit Stack Overflow if you are in need of help:
Posts: 15
Joined: Tue Dec 11, 2007 12:57 pm
Location: La Roque-Gageac, France

Data sharing attributes

Post by m_van_waveren »

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

The bottom of (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 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 ?


Re: Data sharing attributes

Post by Federico »

The answer to both questions is yes.