1 # ifndef CPPAD_LOCAL_SUBGRAPH_ENTIRE_CALL_HPP
2 # define CPPAD_LOCAL_SUBGRAPH_ENTIRE_CALL_HPP
17 namespace CppAD {
namespace local {
namespace subgraph {
38 template <
typename Base>
44 size_t n_sub = subgraph.
size();
45 for(
size_t k = 0; k < n_sub; ++k)
46 {
size_t i_op = subgraph[k];
51 {
switch(play->
GetOp(i_op))
void push_back(const Type &e)
Add an element to theh back of this vector.
CPPAD_TAPE_ADDR_TYPE addr_t
Class used to store and play back an operation sequence recording.
File used to define pod_vector class.
void entire_call(const player< Base > *play, pod_vector< addr_t > &subgraph)
Convert from just firt UserOp to entire atomic function call in a subgraph.
size_t size(void) const
current number of elements in this vector.
#define CPPAD_ASSERT_UNKNOWN(exp)
Check that exp is true, if not terminate execution.
OpCode GetOp(size_t i) const
fetch an operator from the recording.