Intel® FPGA SDK for OpenCL™ Pro Edition: Programming Guide

ID 683846
Date 12/13/2021
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

7.25. Disabling Hardware Kernel Invocation Queue (-no-hardware-kernel-invocation-queue)

To direct the Intel® FPGA SDK for OpenCL™ Offline Compiler to reduce kernel area use by removing kernel invocation queue in OpenCL kernel, include the -no-hardware-kernel-invocation-queue option in your aoc command.

Example: aoc -no-hardware-kernel-invocation-queue <your_kernel_filename>.cl

Using this option may result in longer kernel execution time as the kernel invocation queue allows OpenCL runtime environment to queue kernel launches in accelerator so that the accelerator can start execution on the next invocation as soon as previous invocation of the same kernel is complete.

Attention: Use the -no-hardware-kernel-invocation-queue option only when your kernel execution time is much greater than the system and OpenCL runtime environment overhead hidden by the kernel invocation queue (20-100us), or if the Intel® FPGA SDK for OpenCL™ Offline Compiler has a difficulty fitting your kernel.

Refer to Utilizing Hardware Kernel Invocation Queue topic in Intel FPGA SDK for OpenCL Pro Edition: Best Practices Guide for more information about how to utilize the kernel invocation queue.