|
CppAD: A C++ Algorithmic Differentiation Package
20171217
|
Static Public Member Functions | |
| static size_t | available (size_t thread) |
| Determine the amount of memory that is currently available for use. More... | |
| template<class Type > | |
| static Type * | create_array (size_t size_min, size_t &size_out) |
| Use omp_alloc to Create a Raw Array. More... | |
| template<class Type > | |
| static void | delete_array (Type *array) |
| Return Memory Used for a Raw Array to the Available Pool. More... | |
| static void | free_available (size_t thread) |
| Return all the memory being held as available for a thread to the system. More... | |
| static size_t | get_max_num_threads (void) |
| Get the current maximum number of OpenMP threads that omp_alloc can use. More... | |
| static void * | get_memory (size_t min_bytes, size_t &cap_bytes) |
| Use omp_alloc to get a specified amount of memory. More... | |
| static size_t | get_thread_num (void) |
| Get current OpenMP thread number (zero if _OpenMP not defined). More... | |
| static bool | in_parallel (void) |
| Are we in a parallel execution state; i.e., is it possible that other threads are currently executing. More... | |
| static size_t | inuse (size_t thread) |
| Determine the amount of memory that is currently inuse. More... | |
| static void | return_memory (void *v_ptr) |
Return memory that was obtained by get_memory. More... | |
| static void | set_max_num_threads (size_t number) |
| Inform omp_alloc of the maximum number of OpenMP threads and enable parallel execution mode by initializing all statics in this file. More... | |
Definition at line 21 of file omp_alloc.hpp.