oneapi-src / oneapi-src/oneAPI-samples
C++SYCL_FPGA/Tutorials/GettingStarted/fast_recompile not working in 23.1 ver.
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- C++
- Sterne
- 1.2k
- Forks
- 745
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginnen Sie in C++SYCL_FPGA/Tutorials/GettingStarted/fast_recompile/src mit kernel.cpp und reproduzieren Sie den Befehl mit Quartus Prime 23.1. Untersuchen Sie das erzeugte dev_image.prj/quartus_sh_compile.log und generate_report.tcl und vergleichen Sie sie mit der gemeldeten Ausgabe von 22.2. Als abgeschlossen gilt die Aufgabe, wenn das fast_recompile-Beispiel dev_image.a ohne den von dev_image_di_inst gemeldeten Fehler erzeugt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- cpp
- Bereich
- build-system, embedded-iot
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 25/100