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: https://stackoverflow.com/questions/tagged/openmp
Locked
m_van_waveren
Posts: 15
Joined: Tue Dec 11, 2007 12:57 pm
Location: La Roque-Gageac, France
Contact:

Data sharing attributes

Post by m_van_waveren »

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 ?

Federico

Re: Data sharing attributes

Post by Federico »

The answer to both questions is yes.

Locked