-
Notifications
You must be signed in to change notification settings - Fork 727
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Summary
Can't build Vector Add
targeting fgpa
on Linux.
Version
- oneAPI:
v0.2.0-7-gab4eb7c822
- quartus:
22.2.0 Build 94 06/08/2022 SC Pro Edition
victor@accelerationrobotics:/media/victor/intel/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/vector-add/build$ oneapi-cli version
v0.2.0-7-gab4eb7c822
victor@accelerationrobotics:/media/victor/intel/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/vector-add/build$ quartus_cmd -v
Quartus Prime
Version 22.2.0 Build 94 06/08/2022 SC Pro Edition
Copyright (C) 2022 Intel Corporation. All rights reserved.
Environment
Ubuntu Linux 22.04, 5.15.0-60-generic, x86_64
Steps to reproduce
source /opt/intel/oneapi/setvars.sh
mkdir build
cd build; cmake ..
make fpga
Consolidate compiler generated dependencies of target vector-add-buffers.fpga
[ 50%] Linking CXX executable ../vector-add-buffers.fpga
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 oneAPI FPGA Optimization Guide for information on performance tuning applications for FPGAs.
Error: The board package being used only supports report generation/emulation/runtime, please use the board package shipped in the FPGA addon instead.
Error: Exiting.
llvm-foreach:
icpx: error: fpga compiler command failed with exit code 1 (use -v to see invocation)
make[3]: *** [src/CMakeFiles/vector-add-buffers.fpga.dir/build.make:97: vector-add-buffers.fpga] Error 1
make[2]: *** [CMakeFiles/Makefile2:263: src/CMakeFiles/vector-add-buffers.fpga.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:296: src/CMakeFiles/fpga.dir/rule] Error 2
make: *** [Makefile:215: fpga] Error 2
Observed behavior
Error being thrown while invoking quartus. It's not obvious which device's being used from the tutorial but further looking into the source files, it appears that it's defaulting to intel_a10gx_pac:pac_a10
(I'd be nice to set this in the instructions, even if reduntant).
Expected behavior
FPGA bitstreams generated for target FPGA_DEVICE
.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working