Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
F
 Files
 Functions
H
 h”
I
 Includes
 Initialization and Finalization
M
 Memory Allocation
R
 Read and Write
S
 Shared Memory Interface
 Shared Memory Interface-Barriers
 Shared Memory Interface-Mutexes
 Shared Memory Interface-Utilities
 Structures
T
 tnt_shmem.h
 tnt_shmem_barrier.h
 tnt_shmem_barrier_destroy
 tnt_shmem_barrier_init
 tnt_shmem_barrier_wait
 tnt_shmem_chunk_t
 tnt_shmem_finalize
 tnt_shmem_free
 tnt_shmem_get_rank
 tnt_shmem_get_size
 tnt_shmem_init
 tnt_shmem_malloc
 tnt_shmem_mutex.h
 tnt_shmem_mutex_destroy
 tnt_shmem_mutex_init
 tnt_shmem_mutex_lock
 tnt_shmem_mutex_unlock
 tnt_shmem_node_card_t
 tnt_shmem_private.h
 tnt_shmem_read
 tnt_shmem_util.h
 tnt_shmem_write
 Typedefs
#include "tnt_shmem_barrier.h"
Specifies the barrier function prototypes of the shared memory API.
#include "tnt_shmem_mutex.h"
Specifies the mutex function prototypes of the shared memory API.
#include "tnt_shmem_util.h"
Specifies the utility function prototypes of the shared memory API.
tnt_ret_t tnt_shmem_barrier_destroy(tnt_shmem_barrier_t *barrier)
Destroys a barrier specified by the parameter barrier.
tnt_ret_t tnt_shmem_barrier_init(tnt_shmem_barrier_t *barrier)
Initializes a barrier specified by the parameter barrier.
tnt_ret_t tnt_shmem_barrier_wait(tnt_shmem_barrier_t *barrier)
Waits at a barrier(obviously not the DCMF barrier) specified by the parameter barrier.
typedef void tnt_shmem_chunk_t
A global shared memory address.
tnt_ret_t tnt_shmem_finalize()
Destroys the global shared memory, all associated variables, and finalizes DCMF.
void tnt_shmem_free(tnt_shmem_chunk_t *chunk)
Free a malloc’d block of memory.
size_t tnt_shmem_get_rank()
Retrieve the linear rank of current node.
size_t tnt_shmem_get_size()
Retrieve the number of processors running in the current job.
tnt_ret_t tnt_shmem_init(size_t size)
Initializes a global shared memory, as well as DCMF and all associated global variables.
tnt_shmem_chunk_t* tnt_shmem_malloc(size_t size)
Malloc a block of memory from the global shared memory in bytes specified by size.
tnt_ret_t tnt_shmem_mutex_destroy(tnt_shmem_mutex_t *mutex)
Destroys the mutex specified by the parameter mutex.
tnt_ret_t tnt_shmem_mutex_init(tnt_shmem_mutex_t *mutex)
Initializes the mutex specified by the parameter mutex.
tnt_ret_t tnt_shmem_mutex_lock(tnt_shmem_mutex_t *mutex)
Locks a mutex specified by the parameter mutex.
tnt_ret_t tnt_shmem_mutex_unlock(tnt_shmem_mutex_t *mutex)
Unlocks a mutex specified by the parameter mutex.
typedef struct tnt_shmem_node_card_t {
   DCMF_Memregion_t remoteRegion;
   size_t size;
   size_t nodeEnd;
} tnt_shmem_node_card_t
An entry for the card catalog corresponding to the distribution of shared memory.
tnt_ret_t tnt_shmem_read(tnt_shmem_chunk_t *src,
void *buffer,
size_t size)
Read from a shared memory region.
tnt_ret_t tnt_shmem_write(tnt_shmem_chunk_t *dst,
void *buffer,
size_t size)
Write to a shared memory region