Stan Math Library
4.9.0
Automatic Differentiation
|
|
inlineprivateinherited |
Initializes the OpenCL buffer of this matrix by copying the data from given buffer.
Assumes that size of this
is already set and matches the buffer size.
The caller must make sure that data is not deleted as long as this matrix_cl
is in use (std::move
-ing it or using raw buffer()
also counts as in use).
in_order | whether copying must be done in order efficiently use it directly |
A | pointer to buffer |
Definition at line 551 of file matrix_cl.hpp.