Forum Discussion
Wall Clock Time on Device
Hi ,
You can use the OpenCL profiling to get the delay information.
Please see the below link for the reference.
Thanks and Regards
Anil
- tde_m6 years ago
Occasional Contributor
Hi Anil,
thanks for your reply.
As far as I know, OpenCL profiling events can be used to get timings at the "kernel level" (e.g. the entire kernel execution time).Instead, I was wondering if there is a way directly on device to get timing information (e.g. the number of clock cycles that passes between two events).
Thanks- AnilErinch_A_Intel6 years ago
Frequent Contributor
Hi ,
It turns out that Intel® VTune™ Profiler can be used to measure the wall time for events as you have mentioned.
Please see the link below for more information about VTune profiler.
https://software.intel.com/content/www/us/en/develop/tools/vtune-profiler.html
Thanks and Regards
Anil
- tde_m6 years ago
Occasional Contributor
Dear Anil,
thanks for your reply, but it doesn't seem that Vtune can do what I was asking for.
It seems that with vtune I can profile CPU/FPGA interaction (preview feature), similar to what I can do with OpenCL events.I was asking if there is the possibility to count clock cycles (or any other time units) directly on the device, pretty much like one takes the clock cycles (or the wall clock time) on the CPU.
If this can be done with Vtune as well, can you please point me to the exact documentation?
Thanks for your help,
Tiziano