Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ get_clear_read_write_events()

template<typename T_mat , typename T_row_index , typename T_col_index >
void stan::math::indexing_< T_mat, T_row_index, T_col_index >::get_clear_read_write_events ( std::vector< cl::Event > &  events) const
inline

Adds all read and write events on any matrices used by nested expressions to a list and clears them from those matrices.

Parameters
[out]eventsList of all events.

Definition at line 269 of file indexing.hpp.