Syntax # include <cppad/utility/omp_alloc.hpp> num_bytes = omp_alloc::available(thread)
Memory being managed by omp_alloc
has two states,
currently in use by the specified thread,
and quickly available for future use by the specified thread.
This function informs the program how much memory is available.
This argument has prototype
must be the same as
or the current execution mode must be sequential
The return value has prototype
It is the number of bytes currently available for use by the specified thread.