Copy A 1 by 1 source matrix from the Device to the host.
Copies the source matrix that is stored on the OpenCL device to the destination std::vector
containing Eigen vectors.
Copies the source matrix that is stored on the OpenCL device to the destination std::vector
.
- Template Parameters
-
T | An arithmetic type to pass the value from the OpenCL matrix to. |
- Parameters
-
src | A 1x1 matrix on the device. |
- Returns
- dst Arithmetic to receive the matrix_cl value.
- Template Parameters
-
T_dst | destination type |
T | scalar in the source matrix |
- Parameters
-
src | source matrix on the OpenCL device |
- Returns
std::vector
with a copy of the data in the source matrix
- Template Parameters
-
T_dst | destination type |
T | scalar in the source matrix |
- Parameters
-
src | source matrix on the OpenCL device |
- Returns
std::vector
containing Eigen vectors with a copy of the data in the source matrix
Definition at line 147 of file copy.hpp.