(git:b195825)
dbm_mempool.h File Reference
#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...
 

Function Documentation

◆ dbm_mempool_host_malloc()

void* dbm_mempool_host_malloc ( const size_t  size)

Internal routine for allocating host memory from the pool.

Author
Ole Schuett

Definition at line 141 of file dbm_mempool.c.

Here is the call graph for this function:

◆ dbm_mempool_device_malloc()

void* dbm_mempool_device_malloc ( const size_t  size)

Internal routine for allocating device memory from the pool.

Author
Ole Schuett

Definition at line 149 of file dbm_mempool.c.

Here is the call graph for this function:

◆ dbm_mempool_free()

void dbm_mempool_free ( void *  mem)

Internal routine for releasing memory back to the pool.

Author
Ole Schuett

Definition at line 157 of file dbm_mempool.c.

Here is the caller graph for this function:

◆ dbm_mempool_clear()

void dbm_mempool_clear ( void  )

Internal routine for freeing all memory in the pool.

Author
Ole Schuett

Definition at line 185 of file dbm_mempool.c.

Here is the call graph for this function:
Here is the caller graph for this function: