Syntax # include <cppad/utility/omp_alloc.hpp> omp_alloc::max_num_threads(number)
Purpose
By default there is only one thread and all execution is in sequential mode
(not parallel
).
number
The argument
number
has prototype
size_t number
It must be greater than zero and specifies the maximum number of
OpenMP threads that will be active at one time.
Restrictions
This function must be called before the program enters
parallel
execution mode.
Input File: cppad/utility/omp_alloc.hpp