![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Provide information about MPI capabilities. More...
#include <optional>#include <string>
Include dependency graph for mpiInfo.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| namespace | shamcomm |
| namespace for communication related stuff | |
Enumerations | |
| enum | shamcomm::StateMPI_Aware { shamcomm::Unknown , shamcomm::Yes , shamcomm::No , shamcomm::ForcedYes , shamcomm::ForcedNo } |
| Enum to describe the MPI capabilities. More... | |
Functions | |
| bool | shamcomm::is_direct_comm_aware (const StateMPI_Aware &v) |
| StateMPI_Aware | shamcomm::get_mpi_cuda_aware_status () |
| Get the MPI CUDA aware capability. | |
| StateMPI_Aware | shamcomm::get_mpi_rocm_aware_status () |
| Get the MPI ROCM aware capability. | |
| std::optional< StateMPI_Aware > | shamcomm::should_force_dgpu_state () |
| Should DGPU should be forced. | |
| void | shamcomm::fetch_mpi_capabilities (std::optional< StateMPI_Aware > forced_state) |
| Fetch the MPI capabilities. | |
| void | shamcomm::print_mpi_capabilities () |
| Print the MPI capabilities. | |
| void | shamcomm::print_mpi_comm_info () |
| Print the MPI communicator infos. | |
| std::string | shamcomm::get_process_name () |
| Get the process name. | |
Provide information about MPI capabilities.
This header provides information about the MPI capabilities of the current process.
Definition in file mpiInfo.hpp.