oneapi-src / oneapi-src/oneAPI-samples

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

未关闭
#1,616 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

bug
主要语言
C++
星标
1.2k
派生
745
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 C++SYCL_FPGA/Tutorials/GettingStarted/fast_recompile/src 中的 kernel.cpp 开始,使用 Quartus Prime 23.1 重现该命令。检查生成的 dev_image.prj/quartus_sh_compile.log 和 generate_report.tcl,并将它们与报告的 22.2 输出进行比较。当 fast_recompile 示例生成 dev_image.a 且没有 dev_image_di_inst 报告的错误时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
cpp
领域
build-system, embedded-iot
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。