When you speed up your OpenCL Compilation using the -fast-compile or -incremental compiler option in your aoc command on the Intel® Programmable Acceleration Card, an error may occur as follows:
[root@localhost vector_add]# aoc -fast-compile device/vector_add.cl -o bin/vector_add.aocx
aoc: Running OpenCL parser....
aoc: OpenCL parser completed
aoc: Linking Object files....
aoc: Adding Quartus fast-compile settings.
Warning: Circuit performance will be significantly degraded.
aoc: Optimizing and doing static analysis of code...
Compiler Warning: device/vector_add.cl:23: declaring global arguments 'x' and 'y' with no 'restrict' may lead to low performance for kernel 'vector_add'
Compiler Warning: addpipe in board_spec.xml is set to 1 which is no longer supported
Compiler Warning: global memory pipeline stage is now implemented in BSP instead
aoc: First stage compilation completed successfully.
aoc: Compiling for FPGA. This process may take several hours to complete. Prior to performing this compile, be sure to check the reports to ensure the design will meet your performance targets. If the reports indicate performance targets are not being met, code edits may be required. Please refer to the Intel FPGA SDK for OpenCL Best Practices Guide for information on performance tuning applications for FPGAs.
Error: Could not find fit report afu_opencl_kernel.fit.rpt under compile directory
This error occurs because Intel® Programmable Acceleration Cards do not support the fast-compile feature. The oneAPI product will be adding support for fast compile in a future release. This update will include fast compile support for Intel® Programmable Acceleration Cards.
This problem is scheduled to be fixed in a future release of the Intel® Acceleration Stack for Intel Xeon® CPU with FPGAs.