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

◆ add() [4/4]

template<typename T , typename = void>
template<typename S , require_all_kernel_expressions_and_none_scalar_t< S > * = nullptr>
void stan::math::accumulator< T, typename >::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 81 of file accumulator.hpp.