Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Constructor for the matrix_cl that only allocates the buffer on the OpenCL device.
Regardless of partial_view
, whole matrix is stored.
rows | number of matrix rows, must be greater or equal to 0 |
cols | number of matrix columns, must be greater or equal to 0 |
partial_view | which part of the matrix is used |
<code>std::system_error</code> | if the memory on the device could not be allocated |
Definition at line 284 of file matrix_cl.hpp.