Forum Discussion
Altera_Forum
Honored Contributor
8 years agoThere is no clock in OpenCL and there is no guarantee that your accumulation will happen once every clock. You will not be able to get clock-accurate timing results in OpenCL. However, you can get very accurate timing results (but not clock-accurate) by using OpenCL's built-in profiler:
https://stackoverflow.com/questions/23550912/measuring-execution-time-of-opencl-kernels