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

◆ opencl_code()

template<const char * Code, typename... T_arguments, require_all_kernel_expressions_t< T_arguments... > * = nullptr>
auto stan::math::opencl_code ( std::tuple< typename std::pair< const char *, T_arguments >::first_type... >  names,
T_arguments &&...  arguments 
)
inline

Custom code in kernel generator expressions.

Template Parameters
Codecustom code
T_argumentstypes of argument expressions
Parameters
namestuple of names of the input variables (that hold values of argument expressions)
argumentsarguments to this operation

Definition at line 342 of file opencl_code.hpp.