FindMPI: Check whether MPI was build with CUDA support
MPI distributions (specifically, OpenMPI) may, or may not, support working with CUDA buffers. Specifically, for OpenMPI, if you run:
ompi_info --parsable -l 9 --all | grep mpi_built_with_cuda_support:value
you'll be told whether or not OpenMPI was built with CUDA support.
Unfortunately, the FindMPI.cmake
script does not expose such information. It would be useful if it could be told to check this.
Edited by Brad King