This GHOST instance does actual work.
Definition: core.h:25
Header file for type definitions.
ghost_error ghost_type_get(ghost_type *t)
Definition: core.c:85
Types, functions and macros for error handling.
int ghost_mpi_comm
Definition: types.h:19
ghost_error
Error return type.
Definition: error.h:23
ghost_type
Available GHOST types.
Definition: core.h:17
ghost_error ghost_init(int argc, char **argv)
Initialize GHOST.
Definition: core.c:122
ghost_error ghost_type_set(ghost_type t)
Definition: core.c:75
int ghost_initialized()
Check if GHOST is initialized.
Definition: core.c:100
ghost_error ghost_finalize()
Finalize GHOST.
Definition: core.c:600
ghost_error ghost_cuda_comm_get(ghost_mpi_comm *comm)
Get a communicator containing only processes with GHOST_HAVE_CUDA enabled.
Definition: core.c:737
char * ghost_type_string(ghost_type t)
Definition: core.c:53
Type is not set.
Definition: core.h:21
This GHOST instance talks to a CUDA GPU.
Definition: core.h:29
ghost_error ghost_string(char **str)
Construct string holding information on GHOST.
Definition: core.c:655
ghost_error ghost_barrier()
Definition: core.c:725