oneapi-src / oneapi-src/oneAPI-samples

C++SYCL_FPGA/Tutorials/GettingStarted/fast_recompile not working in 23.1 ver.

Đang mở
#1,616 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

bug
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

Mô tả

Summary

I am trying fpga_recompile example and recently upgraded to Quartus Prime Pro 23.1.
I used Quartus 22.2 previously and it successfully generated .a file with the command below.

icpx -fsycl -fintelfpga -fsycl-link=image kernel.cpp -o dev_image.a -Xshardware -Xstarget=agilex -I ../../../../include/ -Xsv

Now in dev_image.prj/quartus_sh_compile.log, it goes all the way through Timing Analysis, but it raises an error below.


Info: *******************************************************************
Info: Running Quartus Prime Shell
    Info: Version 23.1.0 Build 115 03/30/2023 SC Pro Edition
    Info: Processing started: Thu May  4 11:21:10 2023
    Info: System process ID: 1707255
Info: Command: quartus_sh -t generate_report.tcl compile quartus_compile quartus_compile
Info: Quartus(args): compile quartus_compile quartus_compile
Info: Clock clock
Info:   Period: 1.000
Info:   Restricted Fmax from STA: 693.0
Info: Get Quartus Fitter Resource Utilization: family: Agilex 7
Error: Found 0 entrie(s) that matches the component name: dev_image_di_inst, this will cause reporting issue!
Error (23031): Evaluation of Tcl script generate_report.tcl unsuccessful
Error: Quartus Prime Shell was unsuccessful. 2 errors, 0 warnings
    Error: Peak virtual memory: 1023 megabytes
    Error: Processing ended: Thu May  4 11:21:11 2023
    Error: Elapsed time: 00:00:01
    Error: System process ID: 1707255
Error (21794): Quartus Prime Full Compilation was unsuccessful. 4 errors, 987 warnings
Error: Flow compile (for project /tmp/kernel-542df3-ee329b/quartus_compile) was not successful
Error: run_flow flow:run1 finished: 0 Failed
Error (23031): Evaluation of Tcl script /home/dopark/intelFPGA_pro/23.1/quartus/common/tcl/internal/qsh_flowengine.tcl unsuccessful
Error: Quartus Prime Shell was unsuccessful. 11 errors, 989 warnings
    Error: Peak virtual memory: 1032 megabytes
    Error: Processing ended: Thu May  4 11:21:16 2023
    Error: Elapsed time: 00:06:13
    Error: System process ID: 1703848

In 22.2 ver., the log looks like below.

Info: *******************************************************************
Info: Running Quartus Prime Shell
    Info: Version 22.2.0 Build 94 06/08/2022 SC Pro Edition
    Info: Processing started: Sun Mar 19 15:44:58 2023
    Info: System process ID: 3048907
Info: Command: quartus_sh -t generate_report.tcl compile quartus_compile quartus_compile
Info: Quartus(args): compile quartus_compile quartus_compile
Info: Clock clock
Info:   Period: 1.000
Info:   Restricted Fmax from STA: 693.0
Info: Clock clock2x
Info:   Period: 0.500
Info:   Restricted Fmax from STA: 5000.0
Info: Get Quartus Fitter Resource Utilization: family: Agilex
Info (23030): Evaluation of Tcl script generate_report.tcl was successful
Info: Quartus Prime Shell was successful. 0 errors, 0 warnings
    Info: Peak virtual memory: 998 megabytes
    Info: Processing ended: Sun Mar 19 15:44:59 2023
    Info: Elapsed time: 00:00:01
    Info: System process ID: 3048907
Info (21793): Quartus Prime Full Compilation was successful. 0 errors, 723 warnings
Info (23030): Evaluation of Tcl script /home/dopark/intelFPGA_pro/22.2/quartus/common/tcl/internal/qsh_flowengine.tcl was successful
Info: Quartus Prime Shell was successful. 0 errors, 725 warnings
    Info: Peak virtual memory: 1006 megabytes
    Info: Processing ended: Sun Mar 19 15:45:04 2023
    Info: Elapsed time: 00:04:39
    Info: System process ID: 3047125

Version

23.1

Environment

Ubuntu 20.04

Steps to reproduce

In C++SYCL_FPGA/Tutorials/GettingStarted/fast_recompile/src, run the command below.
icpx -fsycl -fintelfpga -fsycl-link=image kernel.cpp -o dev_image.a -Xshardware -Xstarget=agilex -I ../../../../include/ -Xsv

Observed behavior

na

Expected behavior

na

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu trong C++SYCL_FPGA/Tutorials/GettingStarted/fast_recompile/src với kernel.cpp và tái hiện lệnh bằng Quartus Prime 23.1. Kiểm tra dev_image.prj/quartus_sh_compile.log và generate_report.tcl được tạo ra, đồng thời so sánh chúng với đầu ra được báo cáo của 22.2. Hoàn tất khi ví dụ fast_recompile tạo ra dev_image.a mà không có lỗi do dev_image_di_inst báo cáo.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
cpp
Lĩnh vực
build-system, embedded-iot
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.