1 # ifndef CPPAD_CORE_PAR_VAR_HPP
2 # define CPPAD_CORE_PAR_VAR_HPP
83 size_t thread = size_t(x.
tape_id_ % CPPAD_MAX_NUM_THREADS);
92 size_t thread = size_t(x.
tape_id_ % CPPAD_MAX_NUM_THREADS);
102 size_t thread = size_t(x.
tape_id_ % CPPAD_MAX_NUM_THREADS);
106 template <
class Base>
111 size_t thread = size_t(x.
tape_id_ % CPPAD_MAX_NUM_THREADS);
static tape_id_t * tape_id_ptr(size_t thread)
Pointer to the tape identifier for this AD<Base> class and the specific thread.
#define CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION
A version of the inline command that works with MC compiler.
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool Variable(const AD< Base > &x)
tape_id_t tape_id_
tape id corresponding to the offset
Vector of AD objects that tracks indexing operations on the tape.
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool Parameter(const AD< Base > &x)