|
CppAD: A C++ Algorithmic Differentiation Package
20171217
|
|
inlinestatic |
Return memory that was obtained by get_memory.
If num_threads() == 1, the memory is returned to the system. Otherwise, it is retained by thread_alloc and available for use by get_memory for this thread.
| v_ptr | [in] Value of the pointer returned by get_memory and still in use. After this call, this pointer will available (and not in use). |
get_memory. Definition at line 936 of file thread_alloc.hpp.
Referenced by CppAD::local::pod_vector< Pack >::clear(), delete_array(), CppAD::local::pod_vector< Pack >::extend(), CppAD::atomic_base< double >::free_work(), CppAD::local::pod_vector< Pack >::operator=(), parallel_setup(), CppAD::local::pod_vector< Pack >::resize(), CppAD::omp_alloc::return_memory(), and CppAD::local::pod_vector< Pack >::~pod_vector().