dace icon indicating copy to clipboard operation
dace copied to clipboard

fpga resynthesis for the npbench/polybench/xxxtest

Open jzhoulon opened this issue 2 years ago • 1 comments

hi, I tried the fpga test under npbench/polybench/xxtest, fpga always resyntheis even there is the .dacechae contains the xclbin(xilinx fpga), do I need to change the test case? I see the document there is a flag @dace.program(recompile=False), do I have to add this flag to avoid the synthesis? by the way, I added the sdfg_bianry= sdfg.compile(), does the compile will trigger the synthesis? Thanks

jzhoulon avatar Nov 07 '22 13:11 jzhoulon

Hi @jzhoulon,

if you add an explicit compilation step with sdfg.compile() this will automatically trigger compilation unless:

  • you add the flag that you mentioned
  • or, equivalently, you configure DaCe such that it reuses the cache (https://spcldace.readthedocs.io/en/latest/source/config_schema.html#envvar-compiler.use_cache)

Please let me know if this helps, or how to reproduce your issue.

Best, Tiziano

TizianoDeMatteis avatar Nov 07 '22 14:11 TizianoDeMatteis