The AI Engine compiler takes inputs in several forms and produces executable applications for running on an AI Engine device. The command line for running AI Engine compiler is as follows:
aiecompiler [options] <Input File>
where:
-
<Input File>
specifies the data flow graph code that defines themain()
application for the AI Engine graph. The input flow graph is specified using a data flow graph language. Refer to Creating a Data Flow Graph (Including Kernels) for a description of the data flow graph.
An example AI Engine compiler command:
aiecompiler --verbose --pl-freq=100 --workdir=./myWork --platform=xilinx_vck190_202020_1.xpfm\
--include="./" --include="./src" --include="./src/kernels" --include="./data" --include="${XILINX_HLS}/include" \
./src/graph.cpp
Some additional input options for the command line can include the following:
-
--constraints=<jsonfile>
to specify constraints such as location or placement bounding box.