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.
bdebebe
@jaguar This was especially the case in assignment 3. The contention with even just 1 atomic operation completely slowed everything down.
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.