ContributionsMost RecentMost LikesSolutionsRe: Stable argument doesn't work in simulation Hi @whitepau_altera, Of course you can use it as an example for kernel memory optimization. Thank you ! DorianL Re: Stable argument doesn't work in simulation Hi @whitepau_altera, Thank you for your work and answer, everything is working good now ! I never thought it could be a memory issue on that, I will check the kernel memory viewer more often now. The simulation is perfect now and the rdy signal is as it should be. Have a great day ! DorianL Re: Stable argument doesn't work in simulation Hi @whitepau_altera, Thank you for your answer, I was just talking about the read_rdy from flux_in wich is not constant. I just uploaded the report with this post if you can find something wrong in it, but suprisingly the compiler can reach a II=1 whereas it is clearly not the case in simulation. I tried with the max_reinvocation_delay pragma but it doesn't change anything on it and it is still slow. Thank you for the information about the convolution_2d example, I will try to replace images and keep you in touch ! DorianL Re: Stable argument doesn't work in simulation Hi @whitepau_altera, Thank you for your answer, I tried to bound the loop with a constant number and it doesn't change anything on the simulation, the read_rdy signal of the pipe is sometimes low whereas it is always high when i use a constant size of image instead of kernel arguments. The issue is still the same the inner loop is very slow when I compare between kernel argument and constant value. I tried to coalesce the loop nest but I have worse results in simulation than when I don't use coalesce loops. I already tried to use the convolution_2d github example and I can't use a picture with higher dimension than the original example (test_0.bmp,test_1.bmp...). Is this possible to use other pictures ? Thank you, DorianL Re: Compiler error oneAPI 2024.2 Hi @Kevin_Xu_Intel, Thank you for your help ! It is now working with the installation guide that you gave me. You can close the topic now. DorianL Re: Compiler error oneAPI 2024.2 Hi @Kevin_Xu_Intel , Thank you for your answer : 1. My OS is Ubuntu 20.04 2. Here is the output of the "printenv" command SHELL=/bin/bash TBBROOT=/opt/intel/oneapi/tbb/2021.13/env/.. SESSION_MANAGER=local/user:@/tmp/.ICE-unix/1639,unix/user:/tmp/.ICE-unix/1639 QT_ACCESSIBILITY=1 COLORTERM=truecolor XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg XDG_MENU_PREFIX=gnome- GNOME_DESKTOP_SESSION_ID=this-is-deprecated ONEAPI_ROOT=/opt/intel/oneapi PKG_CONFIG_PATH=/opt/intel/oneapi/vtune/2024.2/include/pkgconfig/lib64:/opt/intel/oneapi/tbb/2021.13/env/../lib/pkgconfig:/opt/intel/oneapi/mpi/2021.13/lib/pkgconfig:/opt/intel/oneapi/mkl/2024.2/lib/pkgconfig:/opt/intel/oneapi/ippcp/2021.12/lib/pkgconfig:/opt/intel/oneapi/dpl/2022.6/lib/pkgconfig:/opt/intel/oneapi/dnnl/2024.2/lib/pkgconfig:/opt/intel/oneapi/dal/2024.5/lib/pkgconfig:/opt/intel/oneapi/compiler/2024.2/lib/pkgconfig:/opt/intel/oneapi/ccl/2021.13/lib/pkgconfig/:/opt/intel/oneapi/advisor/2024.2/include/pkgconfig/lib64: GNOME_SHELL_SESSION_MODE=ubuntu SSH_AUTH_SOCK=/run/user/1000/keyring/ssh CCL_ROOT=/opt/intel/oneapi/ccl/2021.13 I_MPI_ROOT=/opt/intel/oneapi/mpi/2021.13 XMODIFIERS=@im=ibus DESKTOP_SESSION=ubuntu FI_PROVIDER_PATH=/opt/intel/oneapi/mpi/2021.13/opt/mpi/libfabric/lib/prov:/usr/lib/x86_64-linux-gnu/libfabric SSH_AGENT_PID=1601 DNNLROOT=/opt/intel/oneapi/dnnl/2024.2 DIAGUTIL_PATH=/opt/intel/oneapi/dpcpp-ct/2024.2/etc/dpct/sys_check/sys_check.sh:/opt/intel/oneapi/debugger/2024.2/etc/debugger/sys_check/sys_check.py:/opt/intel/oneapi/compiler/2024.2/etc/compiler/sys_check/sys_check.sh ADVISOR_2024_DIR=/opt/intel/oneapi/advisor/2024.2 GTK_MODULES=gail:atk-bridge PWD=/home/user CCL_CONFIGURATION=cpu_gpu_dpcpp LOGNAME=user XDG_SESSION_DESKTOP=ubuntu QSYS_ROOTDIR=/opt/intelFPGA_pro/23.1/qsys/bin DPL_ROOT=/opt/intel/oneapi/dpl/2022.6 XDG_SESSION_TYPE=x11 MANPATH=/opt/intel/oneapi/mpi/2021.13/share/man:/opt/intel/oneapi/debugger/2024.2/share/man:/opt/intel/oneapi/compiler/2024.2/share/man: GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 QUARTUS_ROOTDIR_OVERRIDE=/opt/intelFPGA_pro/23.1/quartus XAUTHORITY=/run/user/1000/gdm/Xauthority GJS_DEBUG_TOPICS=JS ERROR;JS LOG WINDOWPATH=2 HOME=/home/user USERNAME=user IM_CONFIG_PHASE=1 GDB_INFO=/opt/intel/oneapi/debugger/2024.2/share/info/ CCL_CONFIGURATION_PATH= LANG=fr_FR.UTF-8 LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36: XDG_CURRENT_DESKTOP=ubuntu:GNOME VTE_VERSION=6003 SETVARS_COMPLETED=1 APM=/opt/intel/oneapi/advisor/2024.2/perfmodels CMAKE_PREFIX_PATH=/opt/intel/oneapi/tbb/2021.13/env/..:/opt/intel/oneapi/mkl/2024.2/lib/cmake:/opt/intel/oneapi/ipp/2021.12/lib/cmake/ipp:/opt/intel/oneapi/dpl/2022.6/lib/cmake/oneDPL:/opt/intel/oneapi/dnnl/2024.2/lib/cmake:/opt/intel/oneapi/dal/2024.5:/opt/intel/oneapi/compiler/2024.2 GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/73641c1f_3637_4d02_b1b6_e43e9ee4808b INVOCATION_ID=4dfc70fc819a4c6b8199de4aad6eb293 MANAGERPID=1241 CMPLR_ROOT=/opt/intel/oneapi/compiler/2024.2 INFOPATH=/opt/intel/oneapi/debugger/2024.2/share/info GJS_DEBUG_OUTPUT=stderr IPPROOT=/opt/intel/oneapi/ipp/2021.12 IPP_TARGET_ARCH=intel64 LESSCLOSE=/usr/bin/lesspipe %s %s XDG_SESSION_CLASS=user PYTHONPATH=/opt/intel/oneapi/advisor/2024.2/pythonapi TERM=xterm-256color DALROOT=/opt/intel/oneapi/dal/2024.5 LESSOPEN=| /usr/bin/lesspipe %s USER=user LIBRARY_PATH=/opt/intel/oneapi/tbb/2021.13/env/../lib/intel64/gcc4.8:/opt/intel/oneapi/mpi/2021.13/lib:/opt/intel/oneapi/mkl/2024.2/lib/:/opt/intel/oneapi/ippcp/2021.12/lib/:/opt/intel/oneapi/ipp/2021.12/lib:/opt/intel/oneapi/dpl/2022.6/lib:/opt/intel/oneapi/dnnl/2024.2/lib:/opt/intel/oneapi/dal/2024.5/lib:/opt/intel/oneapi/compiler/2024.2/lib:/opt/intel/oneapi/ccl/2021.13/lib/ DAL_MAJOR_BINARY=2 GNOME_TERMINAL_SERVICE=:1.82 IPPCRYPTOROOT=/opt/intel/oneapi/ippcp/2021.12 DISPLAY=:0 QUARTUS_ROOTDIR=/opt/intelFPGA_pro/23.1/quartus IPPCP_TARGET_ARCH=intel64 SHLVL=1 VTUNE_PROFILER_2024_DIR=/opt/intel/oneapi/vtune/2024.2 QT_IM_MODULE=ibus OCL_ICD_FILENAMES=/opt/intel/oneapi/compiler/2024.2/lib/libintelocl.so LM_LICENSE_FILE=/opt/intelFPGA_pro/LR-177233_License.dat CLASSPATH=/opt/intel/oneapi/mpi/2021.13/share/java/mpi.jar INTELFPGAOCLSDKROOT=/opt/intelFPGA_pro/23.1/hld LD_LIBRARY_PATH=/opt/intel/oneapi/tbb/2021.13/env/../lib/intel64/gcc4.8:/opt/intel/oneapi/mpi/2021.13/opt/mpi/libfabric/lib:/opt/intel/oneapi/mpi/2021.13/lib:/opt/intel/oneapi/mkl/2024.2/lib:/opt/intel/oneapi/ippcp/2021.12/lib/:/opt/intel/oneapi/ipp/2021.12/lib:/opt/intel/oneapi/dpl/2022.6/lib:/opt/intel/oneapi/dnnl/2024.2/lib:/opt/intel/oneapi/debugger/2024.2/opt/debugger/lib:/opt/intel/oneapi/dal/2024.5/lib:/opt/intel/oneapi/compiler/2024.2/opt/compiler/lib:/opt/intel/oneapi/compiler/2024.2/lib:/opt/intel/oneapi/ccl/2021.13/lib/ VTUNE_PROFILER_DIR=/opt/intel/oneapi/vtune/2024.2 QROOT=/opt/intelFPGA_pro/23.1 XDG_RUNTIME_DIR=/run/user/1000 MKLROOT=/opt/intel/oneapi/mkl/2024.2 DAL_MINOR_BINARY=0 JOURNAL_STREAM=8:47110 XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop NLSPATH=/opt/intel/oneapi/mkl/2024.2/share/locale/%l_%t/%N:/opt/intel/oneapi/compiler/2024.2/lib/compiler/locale/%l_%t/%N PATH=/opt/intel/oneapi/vtune/2024.2/bin64:/opt/intel/oneapi/mpi/2021.13/bin:/opt/intel/oneapi/mkl/2024.2/bin/:/opt/intel/oneapi/dpcpp-ct/2024.2/bin:/opt/intel/oneapi/dev-utilities/2024.2/bin:/opt/intel/oneapi/debugger/2024.2/opt/debugger/bin:/opt/intel/oneapi/compiler/2024.2/bin:/opt/intel/oneapi/advisor/2024.2/bin64:/opt/intelFPGA_pro/23.1/questa_fe/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/intelFPGA_pro/23.1/quartus/bin:/opt/intelFPGA_pro/23.1/quartus/linux64:/opt/intelFPGA_pro/23.1/quartus/qsys/bin:/opt/intelFPGA_pro/23.1/quartus/sopc_builder/bin:/opt/intelFPGA_pro/23.1/questa_fse/bin:/opt/intelFPGA_pro/23.1/quartus/bin GDMSESSION=ubuntu INTEL_PYTHONHOME=/opt/intel/oneapi/debugger/2024.2/opt/debugger DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus CPATH=/opt/intel/oneapi/tbb/2021.13/env/../include:/opt/intel/oneapi/mpi/2021.13/include:/opt/intel/oneapi/mkl/2024.2/include:/opt/intel/oneapi/ippcp/2021.12/include:/opt/intel/oneapi/ipp/2021.12/include:/opt/intel/oneapi/dpl/2022.6/include:/opt/intel/oneapi/dpcpp-ct/2024.2/include:/opt/intel/oneapi/dnnl/2024.2/include:/opt/intel/oneapi/dev-utilities/2024.2/include:/opt/intel/oneapi/dal/2024.5/include/dal:/opt/intel/oneapi/ccl/2021.13/include _=/usr/bin/printenv 3. The command "aocl -diagnose" is not found on my system even after loading the oneAPI environment variables. Does it means that I don't have the FPGA compiler ? Thank you ! DorianL Re: Stable argument doesn't work in simulation Hi @BoonBengT_Altera, Thank you for the information but the issue is that in the kernel code I sent before the variable "taille_v" and "taille_h" are input of my IP and it increases the latency of the loop compared to when both variable are defined and not input anymore. Is this an issue that you have ever faced ? Thank you ! DorianL Re: Compiler error oneAPI 2024.2 Hi @Kevin_Xu_Intel, I just downloaded the example from github and here is the error that I have when I try to compile the code for emulation and for simulation : Do you have an idea of what could be the issue ? Thank you ! DorianL Compiler error oneAPI 2024.2 Hi everyone, I just updated my version of oneAPI to 2024.2 with the Base Toolkit and I don't know if I'm the only one but even after downloading the FPGA Support Package I can't compile my code anymore for emulation and for simulation. Do you have a solution or should I rollback to oneAPI 2024.1 ? Thank you ! DorianL Re: Stable argument doesn't work in simulation Hi @aikeu , I was waiting for an answer following my last post with my code and compilation commands as asked by @BoonBengT_Altera in a previous post. Could we wait an answer from him before closing the thread ? Thank you ! DorianL