Previous | Next --- Slide 15 of 64
Back to Lecture Thumbnails

An example of where an atomic block may have heavy performance penalties is in OpenMP, where atomic blocks often carry heavy overhead compared to using individual atomic operations.


@jaguar This was especially the case in assignment 3. The contention with even just 1 atomic operation completely slowed everything down.