|
QUDA
v1.1.0
A library for QCD on GPUs
|
Functions | |
| void | init () |
| Initialize the memory pool allocator. More... | |
| void * | device_malloc_ (const char *func, const char *file, int line, size_t size) |
| Allocate device-memory. If free pre-existing allocation exists reuse this. More... | |
| void | device_free_ (const char *func, const char *file, int line, void *ptr) |
| Virtual free of pinned-memory allocation. More... | |
| void * | pinned_malloc_ (const char *func, const char *file, int line, size_t size) |
| Allocate pinned-memory. If a free pre-existing allocation exists reuse this. More... | |
| void | pinned_free_ (const char *func, const char *file, int line, void *ptr) |
| Virtual free of pinned-memory allocation. More... | |
| void | flush_device () |
| Free all outstanding device-memory allocations. More... | |
| void | flush_pinned () |
| Free all outstanding pinned-memory allocations. More... | |
| void quda::pool::device_free_ | ( | const char * | func, |
| const char * | file, | ||
| int | line, | ||
| void * | ptr | ||
| ) |
Virtual free of pinned-memory allocation.
| ptr | Pointer to be (virtually) freed |
Definition at line 730 of file malloc.cpp.
| void * quda::pool::device_malloc_ | ( | const char * | func, |
| const char * | file, | ||
| int | line, | ||
| size_t | size | ||
| ) |
Allocate device-memory. If free pre-existing allocation exists reuse this.
| size | Size of allocation |
Definition at line 703 of file malloc.cpp.
| void quda::pool::flush_device | ( | ) |
Free all outstanding device-memory allocations.
Definition at line 761 of file malloc.cpp.
| void quda::pool::flush_pinned | ( | ) |
Free all outstanding pinned-memory allocations.
Definition at line 753 of file malloc.cpp.
| void quda::pool::init | ( | ) |
Initialize the memory pool allocator.
Definition at line 632 of file malloc.cpp.
| void quda::pool::pinned_free_ | ( | const char * | func, |
| const char * | file, | ||
| int | line, | ||
| void * | ptr | ||
| ) |
Virtual free of pinned-memory allocation.
| ptr | Pointer to be (virtually) freed |
Definition at line 692 of file malloc.cpp.
| void * quda::pool::pinned_malloc_ | ( | const char * | func, |
| const char * | file, | ||
| int | line, | ||
| size_t | size | ||
| ) |
Allocate pinned-memory. If a free pre-existing allocation exists reuse this.
| size | Size of allocation |
Definition at line 665 of file malloc.cpp.