|
FEAT 3
Finite Element Analysis Toolbox
|
Memory management interface class. More...
#include <memory_arbiter.hpp>
Static Public Member Functions | |
| static std::size_t | bytes_allocated_cuda () |
| Returns the total number of bytes currently allocated in cuda memory over all blocks. More... | |
| static std::size_t | bytes_allocated_main () |
| Returns the total number of bytes currently allocated in main memory over all blocks. More... | |
| static std::size_t | bytes_reserved () |
| Returns the total number of bytes reserved over all memory blocks. More... | |
| static void | finalize () |
| Finalizes FEAT's memory management. More... | |
| static void | free_all_unmapped (Location mem_loc) |
| Frees all memory blocks for a given set of memory location that are currently not mapped to a view. More... | |
| static void | initialize (int argc, char **argv) |
| Initializes FEAT's memory management. More... | |
Memory management interface class.
This class acts as an interface for all kinds on memory-management settings.
Please note that there is no need to directly interact with this class except for debugging and profiling purposes.
Definition at line 1132 of file memory_arbiter.hpp.
|
static |
Returns the total number of bytes currently allocated in cuda memory over all blocks.
Definition at line 1517 of file memory_arbiter.cpp.
|
static |
Returns the total number of bytes currently allocated in main memory over all blocks.
Definition at line 1503 of file memory_arbiter.cpp.
|
static |
Returns the total number of bytes reserved over all memory blocks.
Definition at line 1490 of file memory_arbiter.cpp.
|
static |
Finalizes FEAT's memory management.
This function is automatically called by Runtime::finalize(), so there is no point in calling it by yourself.
Definition at line 1469 of file memory_arbiter.cpp.
Referenced by FEAT::Runtime::finalize().
|
static |
Frees all memory blocks for a given set of memory location that are currently not mapped to a view.
| [in] | mem_loc | A combination of memory locations on which the currently unmapped memory blocks have to be freed |
Definition at line 1480 of file memory_arbiter.cpp.
|
static |
Initializes FEAT's memory management.
This function is automatically called by Runtime::initialize(), so there is no point in calling it by yourself.
Definition at line 1464 of file memory_arbiter.cpp.
Referenced by FEAT::Runtime::initialize().