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

◆ add() [6/6]

template<typename T >
template<typename S , require_all_kernel_expressions_and_none_scalar_t< S > * = nullptr>
void stan::math::accumulator< T, require_var_t< T > >::add ( const S &  xs)
inline

Sum each entry and then push to the buffer.

Template Parameters
SA Type inheriting from matrix_cl_base
Parameters
xsAn OpenCL matrix

Definition at line 124 of file accumulator.hpp.