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

ID 683342
Date 4/22/2019
Public
Document Table of Contents

7.12. 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.