![]() |
GHOST
1.1.2
General, Hybrid, and Optimized Sparse Toolkit
|
Types and functions for gathering locality information. More...
Go to the source code of this file.
Classes | |
struct | ghost_hwconfig |
Macros | |
#define | GHOST_HWCONFIG_INVALID -1 |
#define | GHOST_HWCONFIG_INITIALIZER {.ncore = GHOST_HWCONFIG_INVALID, .nsmt = GHOST_HWCONFIG_INVALID, .cudevice = GHOST_HWCONFIG_INVALID} |
Functions | |
ghost_error | ghost_hwconfig_set (ghost_hwconfig) |
ghost_error | ghost_hwconfig_get (ghost_hwconfig *hwconfig) |
ghost_error | ghost_rank (int *rank, ghost_mpi_comm comm) |
ghost_error | ghost_nnode (int *nnode, ghost_mpi_comm comm) |
ghost_error | ghost_nrank (int *nrank, ghost_mpi_comm comm) |
ghost_error | ghost_cpu (int *core) |
ghost_error | ghost_thread_pin (int core) |
ghost_error | ghost_thread_unpin () |
ghost_error | ghost_nodecomm_get (ghost_mpi_comm *comm) |
ghost_error | ghost_nodecomm_setup (ghost_mpi_comm comm) |
Types and functions for gathering locality information.
#define GHOST_HWCONFIG_INITIALIZER {.ncore = GHOST_HWCONFIG_INVALID, .nsmt = GHOST_HWCONFIG_INVALID, .cudevice = GHOST_HWCONFIG_INVALID} |
#define GHOST_HWCONFIG_INVALID -1 |
ghost_error ghost_cpu | ( | int * | core | ) |
ghost_error ghost_hwconfig_get | ( | ghost_hwconfig * | hwconfig | ) |
ghost_error ghost_hwconfig_set | ( | ghost_hwconfig | ) |
ghost_error ghost_nnode | ( | int * | nnode, |
ghost_mpi_comm | comm | ||
) |
ghost_error ghost_nodecomm_get | ( | ghost_mpi_comm * | comm | ) |
ghost_error ghost_nodecomm_setup | ( | ghost_mpi_comm | comm | ) |
ghost_error ghost_nrank | ( | int * | nrank, |
ghost_mpi_comm | comm | ||
) |
ghost_error ghost_rank | ( | int * | rank, |
ghost_mpi_comm | comm | ||
) |
ghost_error ghost_thread_pin | ( | int | core | ) |
ghost_error ghost_thread_unpin | ( | ) |