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

ID 683176
Date 9/24/2018
Public
Document Table of Contents

4.1. Best Practices

recommends that you follow the best practices when profiling your OpenCL kernel.
  • Include the -profile command option in your aoc command during development to insert performance counters into your kernel.
  • Periodically check kernel fmax and performance without using the Profiler.
  • 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 Profiler's overhead takes over.
  • Understand how all the load and store operations and channels are connected in the data flow.