Developer Reference

Migrating OpenCL™ FPGA Designs to SYCL*

ID 767849
Date 3/31/2023
Public

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

General Information Flags

The following table summarizes all flags that you can use to obtain general information on the software, compiler, and boards:

NOTE:

The Intel FPGA SDK for OpenCL™ includes two sets of command options: the SDK utility commands (aocl <command_option>) and the Intel® FPGA SDK for OpenCL™ Offline Compiler commands (aoc <command_option>). SYCL* also provides the aocl utility command.

OpenCL SYCL Description
aocl version aocl version Displays the version of the Intel® FPGA SDK for OpenCL™.
aoc -version icpx -fsycl --version Displays the compiler version.
aoc -help or

aoc -h

icpx -fsycl -help Displays all supported compiler options.
icpx -fsycl -fsycl-help=fpga Prints out FPGA-specific options for the icpx command.
aocl -help <command_option> aocl -help <command_option> Displays information for aocl command options.
aocl env Perform these steps:
  1. Extract the .aocx file from the binary using the following command:
    $INTELFPGAOCLSDKROOT/host/linux64/bin/aocl-extract-aocx
  2. Run the aocl env command on the extracted .aocx file.

Displays the compiler's input arguments and the environment for a compiled FPGA design.