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

ID 683846
Date 12/19/2022
Public
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.