![]() |
GHOST
1.1.2
General, Hybrid, and Optimized Sparse Toolkit
|
#include "ghost/config.h"#include "ghost/types.h"#include "ghost/util.h"#include "ghost/locality.h"#include "ghost/log.h"#include "ghost/machine.h"#include "ghost/error.h"#include "ghost/omp.h"#include <string.h>#include <sys/mman.h>#include <sys/stat.h>#include <fcntl.h>#include <unistd.h>
Macros | |
| #define | _GNU_SOURCE |
| #define | LOCAL_HOSTNAME_MAX 256 |
| #define | ROTL32(num, amount) (((num) << (amount)) | ((num) >> (32 - (amount)))) |
Functions | |
| static int | stringcmp (const void *x, const void *y) |
| ghost_error | ghost_thread_pin (int coreNumber) |
| ghost_error | ghost_thread_unpin () |
| ghost_error | ghost_cpu (int *core) |
| ghost_error | ghost_rank (int *rank, ghost_mpi_comm comm) |
| ghost_error | ghost_nnode (int *nNodes, ghost_mpi_comm comm) |
| ghost_error | ghost_nrank (int *nRanks, ghost_mpi_comm comm) |
| ghost_error | ghost_hwconfig_set (ghost_hwconfig a) |
| ghost_error | ghost_hwconfig_get (ghost_hwconfig *hwconfig) |
| static void | MurmurHash3_x86_32 (const void *key, int len, uint32_t seed, void *out) |
| static ghost_error | ghost_hostname (char **hostnamePtr, size_t *hostnameLength) |
| ghost_error | ghost_nodecomm_get (ghost_mpi_comm *comm) |
| ghost_error | ghost_nodecomm_setup (ghost_mpi_comm comm) |
Variables | |
| static ghost_hwconfig | my_hwconfig = GHOST_HWCONFIG_INITIALIZER |
| static ghost_mpi_comm | ghost_node_comm = MPI_COMM_NULL |
| #define _GNU_SOURCE |
| #define LOCAL_HOSTNAME_MAX 256 |
| #define ROTL32 | ( | num, | |
| amount | |||
| ) | (((num) << (amount)) | ((num) >> (32 - (amount)))) |
| ghost_error ghost_cpu | ( | int * | core | ) |

|
static |

| ghost_error ghost_hwconfig_get | ( | ghost_hwconfig * | hwconfig | ) |
| ghost_error ghost_hwconfig_set | ( | ghost_hwconfig | a | ) |
| ghost_error ghost_nnode | ( | int * | nNodes, |
| 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 * | nRanks, |
| ghost_mpi_comm | comm | ||
| ) |
| ghost_error ghost_rank | ( | int * | rank, |
| ghost_mpi_comm | comm | ||
| ) |
| ghost_error ghost_thread_pin | ( | int | coreNumber | ) |

| ghost_error ghost_thread_unpin | ( | ) |

|
static |
|
static |
|
static |
|
static |
1.8.6