![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
|
inline |
Performs reverse pass for indexing operation on the OpenCL device.
Depending on the size of indexed matrix and the amount of local memory available on the device selects the best kernel to use for the operation.
| [in,out] | adj | adjoint of the argument to indexing |
| idx | indices | |
| res | adjoint of the result of the indexing operation |
Definition at line 22 of file indexing_rev.hpp.