Sandia-OpenSHMEM / SOS

Sandia OpenSHMEM is an implementation of the OpenSHMEM specification over multiple Networking APIs, including Portals 4, the Open Fabric Interface (OFI), and UCX. Please click on the Wiki tab for help with building and using SOS.
Other
61 stars 53 forks source link

Non-blocking atomic fetch is not non-blocking #1066

Open wrrobin opened 1 year ago

wrrobin commented 1 year ago

Non-blocking atomic fetch uses fi_fetch_atomic with DELIVERY_COMPLETE flag. This ensures that the value is fetched before returning. Should it use the FI_INJECT without any completion semantics?

Also, for the same reason, does the blocking atomic fetch require a call to get_wait?