LLNL / ygm

Other
31 stars 22 forks source link

Adds communicator collectives. #143

Closed rogerpearce closed 1 year ago

rogerpearce commented 1 year ago

Starts a collective.hpp file to hold common collective operations.

Currently supports:

Also, improves detail::mpi_typeof()

steiltre commented 1 year ago

We should have a copy of the ygm::comm::all_reduce() that takes a generic merge function in collective.hpp as well.

rogerpearce commented 1 year ago

Just added ygm::bcast and ygm::is_same. Fixed some inlines for non templated functions.

steiltre commented 1 year ago

Going to merge this in to begin using. We can continue adding missing functionality to the new collectives since the old ones will be left inside ygm::comm for now.