Concurrent Kernels Execution to Measure Execution Time
I’m a newbie in OpenCL. I want to measure the kernel execution time without using
clGetEventProfilingInfo API. Two kernels, kernel_computation and kernel_counter; kernel_computation is for actual computational purpose and kernel_counter is for counting the clock cycles need for the kernel_computation.
Points need to remember
- Their start and end time of execution will be exact; they start at the same time and also end together.
- I want the output counter from kernel_counter when kernel_computation ends its execution.
If I use
CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE while creating command queue, at the time of execution kernel_computation and kernel_counter will start execution at the same time or not? And their end time? How can I control their end of execution time?
Xilinx VCU-1525 board