kokkos / kokkos-comm

Experimental MPI Wrapper for Kokkos
https://kokkos.org/kokkos-comm/
Other
16 stars 10 forks source link

More idiomatic C++ for CommMode #83

Closed cedricchevalier19 closed 4 months ago

cedricchevalier19 commented 5 months ago

From https://kokkosteam.slack.com/archives/C06AF7352LE/p1718145132652509?thread_ts=1718128444.322109&cid=C06AF7352LE

why send<CommMode>( args...) instead of send(CommMode(), args...) I feel the tag type approach as argument is more common nowadays for stuff like ISO C++ library design?

dssgabriel commented 5 months ago

As I understand, the idea is to have a syntax similar to how we pass in KokkosExecSpaces?