You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR #30 skips tests for ready-mode send operations as we lack irecv to correctly test the ready-mode send and isend functions.
Unit tests should look something like the following:
if (rank == 0) {
// Ensure `irecv` has started when we exit the following barrierKokkosComm::Impl::barrier(Kokkos::DefaultExecutionSpace(), MPI_COMM_WORLD);
// Send the view
KokkosComm::send<KokkosComm::CommMode::Ready>(
Kokkos::DefaultExecutionSpace(),
view,
dst,
tag,
MPI_COMM_WORLD
);
} else {
// Start receptionauto req = KokkosComm::irecv(
Kokkos::DefaultExecutionSpace(),
view,
src,
tag,
MPI_COMM_WORLD
);
// Barrier guaranteeing to the sender (rank 0) that the recipient (rank 1) is readyKokkosComm::Impl::barrier(Kokkos::DefaultExecutionSpace(), MPI_COMM_WORLD);
// Wait until receive completion
req.wait();
}
These tests should not be skipped anymore once #32 is merged.
The text was updated successfully, but these errors were encountered:
PR #30 skips tests for ready-mode send operations as we lack
irecv
to correctly test the ready-modesend
andisend
functions.Unit tests should look something like the following:
These tests should not be skipped anymore once #32 is merged.
The text was updated successfully, but these errors were encountered: