Initialization, finalization & management for kokkos-comm
#35
dssgabriel
started this conversation in
Ideas
Replies: 1 comment
-
We should add more user stories to illustrate more precisely the needs. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As discussed during meetings, the project may think about providing dedicated initialization and finalization functions:
The return value of these functions should also be thought about:
std::expected
?int
? etc...Some things we may want to think about regarding initialization:
kokkos-comm
communications happen within that session?;kokkos-comm
's) MPI Session: one per node? one per NIC/node? one per GPU/node? This should go hand in hand with Kokkos' upcoming multi-GPU support (already available with CUDA);MPI_Info
: e.g. prevent MPI from checking pointer provenance when Kokkos tells us the view is in a device memory space;MPI_TAG_UB
). This will depend on whether our target applications have a specific use of tags;MPI_ANY_SOURCE
means we can better leverage multiple NICs as we can "guarantee" on which one the communication will arrive. However, the same limitation as for automatic tag handling (with even tighter constraints?): target applications should not rely on specific handling of their communicators to facilitatekokkos-comm
adoption...Please share your ideas and thoughts on this topic!
Beta Was this translation helpful? Give feedback.
All reactions