-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Daniel #89
Conversation
…ecause of how we need to update device data
mpi_datatype_ = MPI_DOUBLE; | ||
} | ||
else { | ||
printf("Your entered MPIArrayKokkos type is not a supported type for MPI communications and is being set to int\n"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should say that it is not supported by Matar, and just refer to where it can be added to avoid emails.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would typeid support custom MPI data types?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it could if it was added in as an option that people wanted. I figured right now there's so few data types we actually need.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think they are grouped as they are in the declarations. I'll make sure
update_host(); | ||
MPI_Isend(host_pointer(), count, mpi_datatype_, dest, tag, comm, &mpi_request_); | ||
#endif | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets move isend and irecv so its after send and recv for consistent grouping like the halo prototypes
Updated the Pull Request. This is the pull request with MPI types, but it also has some CMake changes to handle different linking libraries for each example.
Everything built on Darwin with No Kokkos, Serial Kokkos, Cuda Kokkos, and Cuda/MPI Kokkos. Hopefully it works for anyone else trying it out.