The variable that declare to be share variable.

General OpenMP discussion

The variable that declare to be share variable.

Postby cluster1321 » Mon Dec 10, 2007 9:58 am

hi all
How difference between the variable that declare to be shared variable on parallel region and the variable that doesn't declare to be shared on parallel region(the variable doesn't declare to be other such as private variable too ).

thanks so much,
angle
cluster1321
 
Posts: 4
Joined: Mon Dec 10, 2007 9:52 am

Re: The variable that declare to be share variable.

Postby lfm » Wed Dec 12, 2007 7:56 am

If a variable is not given a data sharing attribute on a parallel region, its attributes are determined by the rules in section 2.8 (section 2.9 in the 3.0 draft).
-- Larry
lfm
 
Posts: 135
Joined: Sun Oct 21, 2007 4:58 pm
Location: OpenMP ARB


Return to Using OpenMP

Who is online

Users browsing this forum: Google [Bot] and 5 guests