(git:b195825)
|
#include <stdbool.h>
Go to the source code of this file.
Functions | |
void * | dbm_mempool_host_malloc (const size_t size) |
Internal routine for allocating host memory from the pool. More... | |
void * | dbm_mempool_device_malloc (const size_t size) |
Internal routine for allocating device memory from the pool. More... | |
void | dbm_mempool_free (void *memory) |
Internal routine for releasing memory back to the pool. More... | |
void | dbm_mempool_clear (void) |
Internal routine for freeing all memory in the pool. More... | |
void* dbm_mempool_host_malloc | ( | const size_t | size | ) |
Internal routine for allocating host memory from the pool.
Definition at line 141 of file dbm_mempool.c.
void* dbm_mempool_device_malloc | ( | const size_t | size | ) |
Internal routine for allocating device memory from the pool.
Definition at line 149 of file dbm_mempool.c.
void dbm_mempool_free | ( | void * | mem | ) |
Internal routine for releasing memory back to the pool.
Definition at line 157 of file dbm_mempool.c.
void dbm_mempool_clear | ( | void | ) |
Internal routine for freeing all memory in the pool.
Definition at line 185 of file dbm_mempool.c.