Intel® FPGA SDK for OpenCL™ Pro Edition: Best Practices Guide

ID 683521
Date 12/19/2022
Document Table of Contents

5.1. Best Practices for Profiling Your Kernel

Intel® recommends that you follow these best practices when profiling your OpenCL kernel.
  • Include the -profile Intel® FPGA SDK for OpenCL™ Offline Compiler command option in your aoc command during development to insert performance counters into your kernel.
  • Run the host application from a local folder to reduce profiler overhead. Avoid running your host from a remote or NAS folder.
  • Ensure that kernel runtime is longer than 20 ms. Otherwise, the overhead of reading Profiler performance data to host takes over.
  • Understand how all the load and store operations and channels are connected in the data flow.

Did you find the information on this page useful?

Characters remaining:

Feedback Message