Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ set_args()

template<bool Do_Calculate, typename T >
void stan::math::calc_if_< Do_Calculate, T >::set_args ( std::unordered_map< const void *, const char * > &  generated,
std::unordered_map< const void *, const char * > &  generated_all,
cl::Kernel &  kernel,
int &  arg_num 
) const
inline

Sets kernel arguments for nested expressions.

Parameters
[in,out]generatedmap from (pointer to) already generated local operations to variable names
[in,out]generated_allmap from (pointer to) already generated all operations to variable names
kernelkernel to set arguments on
[in,out]arg_numconsecutive number of the first argument to set. This is incremented for each argument set by this function.

Definition at line 91 of file calc_if.hpp.