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

◆ to_matrix_cl() [4/5]

template<typename T , require_eigen_vt< is_var, T > * = nullptr>
var_value< matrix_cl< value_type_t< value_type_t< T > > > > stan::math::to_matrix_cl ( const T &  src)
inline

Copies the source Eigen matrix of vars to the destination matrix that is stored on the OpenCL device.

Template Parameters
RCompile time rows of the Eigen matrix
CCompile time columns of the Eigen matrix
Parameters
srcsource Eigen matrix
Returns
matrix_cl with a copy of the data in the source matrix

Definition at line 67 of file copy.hpp.