Instrument the Kernel Pipeline with Performance Counters (-Xsprofile)
-Xsprofile
)Enable profiling during design compilation to add profiling counters to the SYCL kernel pipeline. To instrument the SYCL code with performance counters, add the
-Xsprofile
flag to your compiler command.
- Instrumenting the design with performance counters increases hardware resource utilization (that is, increases FPGA area use) and typically decreases performance.
- Ensure that all kernel names are unique so that the dynamicprofiler interprets the results correctly.
In large designs, the overhead from profiling can cause f
MAX
degradation. It may also prevent the design from fitting on the chip due to the area overhead of the profiling counters.