![]() |
GHOST
1.1.2
General, Hybrid, and Optimized Sparse Toolkit
|
Functions for GHOST's core functionality. More...
Go to the source code of this file.
Enumerations | |
enum | ghost_type { GHOST_TYPE_INVALID, GHOST_TYPE_WORK, GHOST_TYPE_CUDA } |
Available GHOST types. More... | |
Functions | |
ghost_error | ghost_init (int argc, char **argv) |
Initialize GHOST. More... | |
int | ghost_initialized () |
Check if GHOST is initialized. More... | |
ghost_error | ghost_finalize () |
Finalize GHOST. More... | |
ghost_error | ghost_type_set (ghost_type t) |
ghost_error | ghost_type_get (ghost_type *t) |
char * | ghost_type_string (ghost_type t) |
ghost_error | ghost_string (char **str) |
Construct string holding information on GHOST. More... | |
ghost_error | ghost_barrier () |
ghost_error | ghost_cuda_comm_get (ghost_mpi_comm *comm) |
Get a communicator containing only processes with GHOST_HAVE_CUDA enabled. More... | |
Functions for GHOST's core functionality.
ghost_error ghost_barrier | ( | ) |
ghost_error ghost_cuda_comm_get | ( | ghost_mpi_comm * | comm | ) |
Get a communicator containing only processes with GHOST_HAVE_CUDA enabled.
comm | Where to store the communicator |
ghost_error ghost_type_get | ( | ghost_type * | t | ) |
ghost_error ghost_type_set | ( | ghost_type | t | ) |
char* ghost_type_string | ( | ghost_type | t | ) |