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

◆ generate() [1/2]

template<const char * Code, typename... T_arguments>
kernel_parts stan::math::internal::opencl_code_impl< Code, T_arguments >::generate ( const std::string &  row_index_name,
const std::string &  col_index_name,
const bool  view_handled,
std::tuple_element_t< 0, std::pair< const std::string &, T_arguments > >...  var_names 
) const
inline

Generates kernel code for this (select) operation.

Parameters
row_index_namerow index variable name
col_index_namecolumn index variable name
view_handledwhether whether caller already handled matrix view
var_namesvariable names of the argument expressions
Returns
part of kernel with code for this expression

Definition at line 119 of file opencl_code.hpp.