![]() |
GHOST
1.1.2
General, Hybrid, and Optimized Sparse Toolkit
|
Functions | |
ghost_error | ghost_mpi_datatype_get (ghost_mpi_datatype *dt, ghost_datatype datatype) |
ghost_error | ghost_mpi_datatypes_create () |
ghost_error | ghost_mpi_datatypes_destroy () |
ghost_error | ghost_datatype_size (size_t *size, ghost_datatype datatype) |
bool | ghost_datatype_valid (ghost_datatype datatype) |
Check whether a given data type is valid. More... | |
const char * | ghost_datatype_string (ghost_datatype datatype) |
Stringify a ghost_datatype. More... | |
ghost_error | ghost_datatype_idx_get (ghost_datatype_idx *idx, ghost_datatype datatype) |
ghost_error | ghost_idx2datatype (ghost_datatype *datatype, ghost_datatype_idx idx) |
const char * | ghost_location_string (ghost_location location) |
const char * | ghost_implementation_string (ghost_implementation implementation) |
int | ghost_idx_of_location (ghost_location l) |
Variables | |
static ghost_mpi_datatype | GHOST_MPI_DT_C = MPI_DATATYPE_NULL |
static ghost_mpi_datatype | GHOST_MPI_DT_Z = MPI_DATATYPE_NULL |
ghost_error ghost_datatype_idx_get | ( | ghost_datatype_idx * | idx, |
ghost_datatype | datatype | ||
) |
ghost_error ghost_datatype_size | ( | size_t * | size, |
ghost_datatype | datatype | ||
) |
bool ghost_datatype_valid | ( | ghost_datatype | datatype | ) |
Check whether a given data type is valid.
datatype | The data type. |
An data type is valid if exactly one of GHOST_DT_FLOAT and GHOST_DT_DOUBLE and exactly one of GHOST_DT_REAL and GHOST_DT_COMPLEX is set.
ghost_error ghost_idx2datatype | ( | ghost_datatype * | datatype, |
ghost_datatype_idx | idx | ||
) |
int ghost_idx_of_location | ( | ghost_location | l | ) |
const char* ghost_implementation_string | ( | ghost_implementation | implementation | ) |
const char* ghost_location_string | ( | ghost_location | location | ) |
ghost_error ghost_mpi_datatype_get | ( | ghost_mpi_datatype * | dt, |
ghost_datatype | datatype | ||
) |
ghost_error ghost_mpi_datatypes_create | ( | ) |
ghost_error ghost_mpi_datatypes_destroy | ( | ) |
|
static |
|
static |