Intel® FPGA AI Suite: Compiler Reference Manual

ID 768972
Date 9/06/2023
Public

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

Document Table of Contents

4.4. Compilation Options (dla_compiler Command Options)

--foutput-format Option

Syntax
--foutput-format=<exported_graph_format>
Description
This option specifies the format of the exported compiled graph file.
The <exported_graph_format> parameter can take one of the following values:
  • open_vino_hetero
    The export function is called from the OpenVINO™ hetero plugin. This option serializes and dumps the following outputs to a binary file:
    • OpenVINO™ input information
    • OpenVINO™ output information
    • Intel® FPGA AI Suite compiled results
  • dla_compiled_result

    Only the Intel® FPGA AI Suite compiled results are dumped to the binary file.

Default Value
open_vino_hetero
Parsed As
(string)

--fplugin Option

Syntax

--fplugin=<OpenVINO_plugin>

Description
This option specifies the plugin for the OpenVINO™ inference engine.
The <OpenVINO_plugin> parameter can take one of the following values:
  • HETERO:FPGA

    The OpenVINO™ HETERO plugin is used, and it tries to use the FPGA for all inference operations.

    If any layers are not supported by the FPGA device, then it issues an error.

    Use this plugin to ensure that the CPU support is not used for any layers.

  • HETERO:CPU

    The OpenVINO™ HETERO plugin is used, and all inference operations are allocated to the CPU.

    Use this plugin to test the data flow through dla_benchmark application when an FPGA device is not available.

  • HETERO:FPGA,CPU

    The OpenVINO™ HETERO plugin is used, and inference operations are allocated to the FPGA device where possible. The CPU is used for layers that are not supported on the FPGA device.

    The graph is partitioned into parts that run on the FPGA device and parts that must run on the CPU.

Default Value
HETERO
Parsed As
(string)

--fassumed-fmax-core Option

Syntax
--fassumed-fmax-core=<assumed f MAX >
Description
This option sets the fMAX used for calculating performance. Specify the <assumed f MAX > value in MHz.
Default Value
256
Parsed As
(int)

--ffolding-option Option

Syntax
--ffolding-option=<folding_option>
Description
This option sets the folding mode that the compiler applies to the first convolution of the network to be executed on the FPGA device.
The <folding_option> parameter can take one of the following values:
  • 0

    No folding performed externally or by the Intel® FPGA AI Suite IP.

  • 1

    Folding performed externally (that is, by the host or a module outside of the Intel® FPGA AI Suite IP).

  • 2

    Folding performed externally, with additional folding performed by the Intel® FPGA AI Suite IP.

  • 3

    All folding performed by the Intel® FPGA AI Suite IP.

For more information about folding in the Intel® FPGA AI Suite, refer to the "Input Folding" section in the "Input Feature Tensor In-Memory" topic of Intel® FPGA AI Suite IP Reference Manual .

Default Value
3
Parsed As
(int)