oneapi-src / oneapi-src/oneAPI-samples

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

オープン
#1,616 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

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. リポジトリをフォークし、ブランチを切って変更します。
  4. 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_di_inst によるエラーの報告なしに dev_image.a を生成すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
cpp
領域
build-system, embedded-iot
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。