atomic updates and race conditions

Comments and discussion of the 4.1 OpenMP Draft specifications. Comment period ends September 30, 2015. See http://openmp.org/wp/openmp-specifications/ to download the specifications. (Read Only)
Locked
fewl9012
Posts: 73
Joined: Mon Jul 27, 2015 4:50 pm

atomic updates and race conditions

Post by fewl9012 »

page 157:21 For example, a barrier following a series of atomc updates to x guarantees that subsequent accesses do not form a race with the atomic accesses.
Within a single team, yes, since they all reach the barrier. May want to reread this section with the teams construct in mind.

Locked