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

◆ select_events() [1/3]

template<typename T , require_not_matrix_cl_t< T > * = nullptr>
tbb::concurrent_vector< cl::Event > stan::math::opencl_kernels::internal::select_events ( const T &  m)
inline

Select events from kernel arguments.

Does nothing for non matrix_cl types.

Template Parameters
TThe argument type for a non matrix_cl, else the in/out/in_out buffer types.
KThe type of the matrix_cl
Parameters
mIf an matrix_cl, gets the event vector, else this argument does nothing.
Returns
A vector of OpenCL events.

Definition at line 112 of file kernel_cl.hpp.