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

◆ to_matrix_cl() [2/5]

template<typename T >
var_value< matrix_cl< value_type_t< T > > > stan::math::to_matrix_cl ( const var_value< T > &  a)
inline

Copies the source var containing Eigen matrices to destination var that has data stored on the OpenCL device.

Template Parameters
Ttype of the Eigen matrix
Parameters
asource Eigen matrix
Returns
var with a copy of the data on the OpenCL device

Definition at line 33 of file copy.hpp.