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

◆ assign_events() [1/2]

template<typename T , require_same_t< T, cl::Event > * = nullptr>
void stan::math::opencl_kernels::internal::assign_events ( const T &  )
inline

Adds the event to any matrix_cls in the arguments depending on whether they are in_buffer, out_buffer, or in_out_buffers.

Template Parameters
ArgArguments given during kernel creation that specify the kernel signature.
ArgsArguments given during kernel creation that specify the kernel signature.
CallArgFirst argument type used to call the kernel
CallArgsOther argument types used to call the kernel.
Parameters
new_eventThe cl::Event generated involving the arguments.
mArguments to the kernel that may be matrix_cls or not. Non-matrices are ignored.
argsArguments to the kernel that may be matrices or not. Non-matrices are ignored.

Definition at line 92 of file kernel_cl.hpp.