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

◆ generate()

template<typename T_code , typename T_scalar >
kernel_parts stan::math::opencl_code_output< T_code, T_scalar >::generate ( const std::string &  row_index_name,
const std::string &  col_index_name,
const bool  view_handled,
const std::string &  dummy_var_name_code 
) const
inline

Generates kernel code for this operation.

Parameters
row_index_namerow index variable name
col_index_namecolumn index variable name
view_handledwhether whether caller already handled matrix view
dummy_var_name_codevariable name of the code operation (unused)
Returns
part of kernel with code for this expression

Definition at line 68 of file opencl_code.hpp.