upcxx::barrier() should use gex_Coll_BarrierNB()

Issue #179 resolved
Dan Bonachea created an issue

upcxx::barrier() in the 2018.9.0 release is implemented using gex_Coll_ReduceToAllNB(), which is correct but sub-optimal, and incurs a measurable performance penalty. This was done due to a semantic restriction in the 2018.9.0 GEX release, but that restriction has now been lifted in collaborator-snapshot.

upcxx::barrier() should be updated to use gex_Coll_BarrierNB() instead, which already offers better performance, and will eventually allow more aggressive h/w offload.

Comments (2)

  1. Log in to comment