Add waitForEvents
Add 1D OpenCL transfers