Waits for the write events and clears the read event stack.
Definition at line 151 of file matrix_cl.hpp.