Prev | Next |
CPPAD_MAX_NUM_THREADS
is an absolute maximum for
the number of threads that CppAD should support.
If this preprocessor symbol is defined
before including any CppAD header files,
it must be an integer greater than or equal to one.
Otherwise, cppad_max_num_threads
is used to define this preprocessor symbol.
Note that the minimum allowable value for
cppad_max_num_threads
is 4; i.e., you can only
get smaller values for CPPAD_MAX_NUM_THREADS
by
defining it before including the CppAD header files.
hold_memory
with
value
equal to true.
This may even be true if there is only one thread.
AD
types
in parallel
execution mode.
parallel_ad | Enable AD Calculations During Parallel Mode |
thread_test.cpp | Run Multi-Threading Examples and Speed Tests |