Add clWaitForEvents first
Merge pull request #826 from VasilyPupkin/bleeding-jumbo

Add clWaitForEvents first