Bug Fixing on Execution Time and Adding Iteration Time

Call wait function to make sure OpenCL kernel has done executing before
collecting the result. Otherwise, the execution time will fall into
result collection time.