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

◆ from_matrix_cl() [1/7]

template<typename T_ret , typename T , require_eigen_t< T_ret > * = nullptr, require_matrix_cl_t< T > * = nullptr, require_st_same< T_ret, T > * = nullptr>
auto stan::math::from_matrix_cl ( const T &  src)
inline

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

Template Parameters
T_retdestination type
Tscalar in the source matrix
Parameters
srcsource matrix on the OpenCL device
Returns
Eigen matrix with a copy of the data in the source matrix

Definition at line 61 of file copy.hpp.