![]() |
GHOST
1.1.2
General, Hybrid, and Optimized Sparse Toolkit
|
#include "ghost/config.h"
#include "ghost/core.h"
#include "ghost/log.h"
#include "ghost/util.h"
#include "ghost/math.h"
#include "ghost/machine.h"
#include "ghost/locality.h"
#include "ghost/taskq.h"
#include "ghost/thpool.h"
#include "ghost/timing.h"
#include "ghost/pumap.h"
#include "ghost/omp.h"
#include "ghost/rand.h"
#include "ghost/instr.h"
#include "ghost/autogen.h"
#include <hwloc.h>
#include <strings.h>
Functions | |
char * | ghost_type_string (ghost_type t) |
ghost_error | ghost_type_set (ghost_type t) |
ghost_error | ghost_type_get (ghost_type *t) |
int | ghost_initialized () |
Check if GHOST is initialized. More... | |
ghost_error | ghost_init (int argc, char **argv) |
Initialize GHOST. More... | |
ghost_error | ghost_finalize () |
Finalize GHOST. More... | |
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... | |
Variables | |
static ghost_type | mytype = GHOST_TYPE_INVALID |
static int | MPIwasInitialized = 0 |
static int | initialized = 0 |
static ghost_mpi_comm | ghost_cuda_comm = MPI_COMM_NULL |
A communicator containing only the processes with GHOST_HAVE_CUDA enabled. 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.
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 | ) |
|
static |
A communicator containing only the processes with GHOST_HAVE_CUDA enabled.
This is necessary, e.g., for gathering CUDA information in heterogeneous runs containing Xeon Phis.
|
static |
|
static |
|
static |