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

ID 683846
Date 3/28/2022
Public

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

Document Table of Contents

7.14. Removing Debug Data from Compiler Reports and Source Code from the .aocx File (-g0)

By default, the Intel® FPGA SDK for OpenCL™ Offline Compiler includes source information in compiler reports and embeds the source code into the .aocx binary when it compiles the .cl or .aoco file. Include the -g0 option in the aoc command to remove source information from the compiler reports and to remove source code and customer IP information from the .aocx file.
To remove source information in reports and remove source code and customer IP information from the .aocx file, invoke the aoc -g0 <your_kernel_filename>.cl command.