Can't build "fpga_compile" sample for Intel PAC D5005
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- cmake, cpp
- Lĩnh vực
- build-system, compilers
Hướng nghiên cứu
Bắt đầu trong DirectProgramming/DPC++FPGA/Tutorials/GettingStarted/fpga_compile và đọc README của thư mục này để biết cấu hình thiết bị D5005. Tái hiện lỗi bằng CMake với -DFPGA_DEVICE=intel_s10sx_pac:pac_s10, sau đó kiểm tra gói bo mạch và đầu ra bản build. Hoàn tất khi mẫu tạo được một FPGA bitstream cho D5005 mà không gặp lỗi gói bo mạch.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
Can't build "fpga_compile" sample for Intel PAC D5005 successfully.
Version
Sample code: branch 2023.0_patch (DirectProgramming/DPC++FPGA/Tutorials/GettingStarted/fpga_compile)
oneAPI: 2023.1.0.46401
Quartus: Quartus-pro-22.4.0.94
Environment
OS: Ubuntu 22.04/Debian 11
HW: Intel PAC D5005
lspci | grep 0b2b
01:00.0 Processing accelerators: Intel Corporation Device 0b2b (rev ff)
Steps to reproduce
source /opt/intel/oneapi/setvars.sh
export QUARTUS_ROOTDIR_OVERRIDE=/opt/intelFPGA_pro/22.4/quartus
mkdir build
cd build
cmake .. -DFPGA_DEVICE=intel_s10sx_pac:pac_s10
make fpga
2 warnings generated.
[100%] Linking CXX executable ../fpga_compile.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/fpga_compile.fpga.dir/build.make:97: fpga_compile.fpga] Error 1
make[2]: *** [CMakeFiles/Makefile2:208: src/CMakeFiles/fpga_compile.fpga.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:241: src/CMakeFiles/fpga.dir/rule] Error 2
make: *** [Makefile:189: fpga] Error 2
Observed behavior
I have already looked at this #1350 . If using -DFPGA_DEVICE=agilex, it can be build successfully.
But for PAC D5005, I should use -DFPGA_DEVICE=intel_s10sx_pac:pac_s10 according to the README document. Then the error appears.
Besides, the board package is available.
/opt/intel/oneapi/compiler/2023.1.0/linux/lib/oclfpga/board$ ls
intel_a10gx_pac intel_s10sx_pac
Expected behavior
FPGA bitstreams generated for target D5005.
- Ngôn ngữ chính
- C++
- Star
- 1.2k
- Fork
- 745
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của oneapi-src/oneAPI-samples
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
oneapi-src/oneAPI-samples#2764 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
oneapi-src/oneAPI-samples#2748 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 10/100
oneapi-src/oneAPI-samples#2746 ·
-
Lenovo Thinkpad T440p Ethernet issue warning sign show install multiple times but same issue face Đang mởquestion
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 15/100
oneapi-src/oneAPI-samples#2739 ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
oneapi-src/oneAPI-samples#2705 ·
Tất cả issue của oneapi-src/oneAPI-samples
Issue tương tự
-
ai_reviewed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ydb-platform/ydb#53869 · 3 bình luận ·
-
bug cert blocker needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
project-chip/connectedhomeip#74373 ·
-
[request] tracy/0.14.1 Đang mởupstream update
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
conan-io/conan-center-index#31035 ·
-
Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
vllm-project/vllm-ascend#17329 ·