![]() |
(git:ed6f26b)
|
#include <omp.h>
Go to the source code of this file.
Data Structures | |
struct | dbm_block_t |
Internal struct for storing a block's metadata. More... | |
struct | dbm_shard_t |
Internal struct for storing a matrix shard. More... | |
Functions | |
void | dbm_shard_init (dbm_shard_t *shard) |
Internal routine for initializing a shard. | |
void | dbm_shard_copy (dbm_shard_t *shard_a, const dbm_shard_t *shard_b) |
Internal routine for copying content of shard_b into shard_a. | |
void | dbm_shard_release (dbm_shard_t *shard) |
Internal routine for releasing a shard. | |
dbm_block_t * | dbm_shard_lookup (const dbm_shard_t *shard, const int row, const int col) |
Internal routine for looking up a block from a shard. | |
dbm_block_t * | dbm_shard_promise_new_block (dbm_shard_t *shard, const int row, const int col, const int block_size) |
Internal routine for allocating the metadata of a new block. | |
void | dbm_shard_allocate_promised_blocks (dbm_shard_t *shard) |
Internal routine for allocating and zeroing any promised block's data. | |
dbm_block_t * | dbm_shard_get_or_promise_block (dbm_shard_t *shard, const int row, const int col, const int block_size) |
Internal routine for getting block or promising a new one. | |
dbm_block_t * | dbm_shard_get_or_allocate_block (dbm_shard_t *shard, const int row, const int col, const int block_size) |
Internal routine for getting block or allocating a new one. | |
void dbm_shard_init | ( | dbm_shard_t * | shard | ) |
Internal routine for initializing a shard.
Definition at line 64 of file dbm_shard.c.
void dbm_shard_copy | ( | dbm_shard_t * | shard_a, |
const dbm_shard_t * | shard_b | ||
) |
Internal routine for copying content of shard_b into shard_a.
Definition at line 80 of file dbm_shard.c.
void dbm_shard_release | ( | dbm_shard_t * | shard | ) |
Internal routine for releasing a shard.
Definition at line 125 of file dbm_shard.c.
dbm_block_t * dbm_shard_lookup | ( | const dbm_shard_t * | shard, |
const int | row, | ||
const int | col | ||
) |
Internal routine for looking up a block from a shard.
Definition at line 175 of file dbm_shard.c.
dbm_block_t * dbm_shard_promise_new_block | ( | dbm_shard_t * | shard, |
const int | row, | ||
const int | col, | ||
const int | block_size | ||
) |
Internal routine for allocating the metadata of a new block.
Definition at line 197 of file dbm_shard.c.
void dbm_shard_allocate_promised_blocks | ( | dbm_shard_t * | shard | ) |
Internal routine for allocating and zeroing any promised block's data.
Definition at line 231 of file dbm_shard.c.
dbm_block_t * dbm_shard_get_or_promise_block | ( | dbm_shard_t * | shard, |
const int | row, | ||
const int | col, | ||
const int | block_size | ||
) |
Internal routine for getting block or promising a new one.
Definition at line 259 of file dbm_shard.c.
dbm_block_t * dbm_shard_get_or_allocate_block | ( | dbm_shard_t * | shard, |
const int | row, | ||
const int | col, | ||
const int | block_size | ||
) |
Internal routine for getting block or allocating a new one.
Definition at line 274 of file dbm_shard.c.