Get a handle to the tape that records AD<Base> operations for the specified thread.
- Template Parameters:
-
Base | is the base type corresponding to AD<Base> operations. |
- Parameters:
-
thread | is the index that identifes the current OpenMP thread. If _OPENMP is not defined, thread must be zero. 0 <= thread < omp_max_thread(0) . |
- Returns:
- The return value
r
is a handle to the tape that records AD<Base> operations for the current thread. This can be used to, create, get, or delete, the AD<Base> tape corresponding to the current thread. If *r == CPPAD_NULL
, there is no tape currently recording AD<Base> operations for the specified thread.
Definition at line 100 of file tape_link.hpp.