Forum Discussion
Altera_Forum
Honored Contributor
9 years agoProfiling autorun kernel without --profile
Hi, I have a multi-kernel design that goes Reader -> (autorun) CU_0 -> (autorun) CU_1 -> (autorun) CU_2 -> Writer (where CU_0, CU_1 and CU_2 are the same). And I'm attempting to get the ...
Altera_Forum
Honored Contributor
9 years agoIf data is being "streamed" from the reader through the compute kernels and written back by the writer kernel, I would expect the kernels to more or less start and end at the same time. You cannot separately determine the run time of each kernel when the kernels are running in parallel, since each kernel will start executing as soon as it receives the first data through its incoming channel and hence, kernel run times will largely overlap.
Your method will only work if the kernels are running fully sequentially, either in the same queue or in multiple queues but forced to run sequentially using events.