You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on adding atomicLoad and atomicStore, and I noticed that atomicStore is very similar to atomicExchange, which we already have implemented. Should we add atomicStore as an alias to atomicExchange? Or should we make it different by not returning the old value? I'm leaning toward making it an alias to atomicExchange.
EDIT: I made atomicStore a different function that does not return the old value. Jason pointed out some platform intrinsics that don't return a value are more efficient.
Builtin atomics
Openmp atomics
All atomics
The text was updated successfully, but these errors were encountered: