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

◆ set_args()

template<int N, typename... T_results>
template<typename... T_expressions>
static void stan::math::internal::multi_result_kernel_internal< N, T_results >::inner< T_expressions >::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 std::tuple< std::pair< T_results, T_expressions >... > &  assignment_pairs 
)
inlinestatic

Sets kernel arguments.

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 to
arg_numnumber of the next argument to set
assignment_pairspairs of result and expression

Definition at line 160 of file multi_result_kernel.hpp.