Prev | Next | omp_return_memory |
# include <cppad/utility/omp_alloc.hpp>
omp_alloc::return_memory(v_ptr)
void* v_ptr
.
It must be a pointer to memory that is currently in use; i.e.
obtained by a previous call to omp_get_memory
and not yet returned.
NDEBUG
is defined,
v_ptr
is not checked (this is faster).
Otherwise, a list of in use pointers is searched to make sure
that
v_ptr
is in the list.