Loading [MathJax]/extensions/TeX/AMSsymbols.js
Automatic Differentiation
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

◆ from_matrix_cl() [7/7]

template<typename T , require_all_kernel_expressions_t< T > * = nullptr>
auto stan::math::from_matrix_cl ( const var_value< T > &  src)

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

Template Parameters
Ttype of the matrix or expression on the OpenCL device
Parameters
srcsource matrix_cl or expression
Returns
var with a copy of the data on the host

Definition at line 209 of file copy.hpp.