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

◆ add_write_event()

template<typename T >
void stan::math::check_cl_< T >::add_write_event ( cl::Event &  e) const
inline

Instead of adding event to matrices, waits on the event and throws if check failed.

Parameters
ethe event to add
Exceptions
std::domain_errorcheck failed

Definition at line 163 of file check_cl.hpp.