QuIDS: Quantum Irregular Dynamic Simulator
|
QuIDS mpi utility function and variable namespace. More...
Functions | |
void | make_equal_pairs (size_t *size_begin, size_t *size_end, int *pair_id) |
function to partition into pair of almost equal sum | |
template<typename T > | |
MPI_Datatype | get_mpi_datatype (T x) |
function to get the corresponding MPI type of a variable More... | |
MPI_Datatype | get_mpi_datatype (float x) |
MPI_Datatype | get_mpi_datatype (double x) |
MPI_Datatype | get_mpi_datatype (long double x) |
MPI_Datatype | get_mpi_datatype (std::complex< float > x) |
MPI_Datatype | get_mpi_datatype (std::complex< double > x) |
MPI_Datatype | get_mpi_datatype (std::complex< long double > x) |
MPI_Datatype | get_mpi_datatype (bool x) |
MPI_Datatype | get_mpi_datatype (char x) |
MPI_Datatype | get_mpi_datatype (signed char x) |
MPI_Datatype | get_mpi_datatype (unsigned char x) |
MPI_Datatype | get_mpi_datatype (short x) |
MPI_Datatype | get_mpi_datatype (unsigned short x) |
MPI_Datatype | get_mpi_datatype (int x) |
MPI_Datatype | get_mpi_datatype (unsigned int x) |
MPI_Datatype | get_mpi_datatype (long x) |
MPI_Datatype | get_mpi_datatype (unsigned long x) |
QuIDS mpi utility function and variable namespace.
MPI_Datatype quids::mpi::utils::get_mpi_datatype | ( | T | x | ) |
function to get the corresponding MPI type of a variable
Should be reimplemented for an exotic PROBA_TYPE type.
T | type of the variable |
[in] | x | variable to type |