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
-
| Arg | Arguments given during kernel creation that specify the kernel signature. |
| Args | Arguments given during kernel creation that specify the kernel signature. |
| CallArg | First argument type used to call the kernel |
| CallArgs | Other argument types used to call the kernel. |
- Parameters
-
| new_event | The cl::Event generated involving the arguments. |
| m | Arguments to the kernel that may be matrix_cls or not. Non-matrices are ignored. |
| args | Arguments to the kernel that may be matrices or not. Non-matrices are ignored. |
Definition at line 92 of file kernel_cl.hpp.