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

◆ get_clear_events()

template<int N, typename... T_results>
template<typename... T_expressions>
static void stan::math::internal::multi_result_kernel_internal< N, T_results >::inner< T_expressions >::get_clear_events ( std::vector< cl::Event > &  events,
const std::tuple< std::pair< T_results, T_expressions >... > &  assignment_pairs 
)
inlinestatic

Generates list of all events kernel assigning expressions to results must wait on.

Also clears those events from matrices.

Parameters
[out]eventslist of events
assignment_pairspairs of result and expression

Definition at line 50 of file multi_result_kernel.hpp.