Unable to synthesis FPGA executable using DPC++
Hello,
I am attepting to synthesis a FPGA execuitble for convolution using the A10 OneAPI FPGA Node/
It seems that I am unable to synthesis this project at it's current size.
I have tried emulation with a smaller parameters and that is able to work.
I use the following commands to compile to FPGA
```bash
dpcpp oneapi-target-5-run.cpp -lz -lpthread -ldl -fintelfpga -fsycl -fsycl-device-code-split=off -DFPGA -Xshardware -Xsboard=intel_a10gx_pac:pac_a10 -o ./test.fpga
```
I have included the source files needed to build the FPGA executible using DPC++ for convolution.
Any help would be appriciated. Thank you
I submitted my bash script job with the following comand and outputs
```bash
########################################################################
### Submitted batch.sh command
########################################################################
devcloud_login -b A10OAPI walltime=12:00:00 batch.sh
########################################################################
### batch.sh.o
########################################################################
########################################################################
# Date: Mon Jan 31 17:29:28 PST 2022
# Job ID: 1843614.v-qsvr-1.aidevcloud
# User: u128916
# Resources: neednodes=s001-n090:ppn=2,nodes=s001-n090:ppn=2,walltime=12:00:00
########################################################################
aoc: Warning RAM Utilization is at 171%!
aoc: Compiling for FPGA. This process may take several hours to complete. Prior to performing this compile, be sure to check the reports to ensure the design will meet your performance targets. If the reports indicate performance targets are not being met, code edits may be required. Please refer to the oneAPI FPGA Optimization Guide for information on performance tuning applications for FPGAs.
Error (20264): Placement failed to find a legal solution due to row legality failure.
Error (170077): Cannot place the following nodes
Error (170077): Cannot place the following nodes
Error (23035): Tcl error:
Error (23031): Evaluation of Tcl script compile_script.tcl unsuccessful
Error: Quartus Prime Shell was unsuccessful. 2 errors, 0 warnings
Error (23035): Tcl error:
Error (23031): Evaluation of Tcl script build/entry.tcl unsuccessful
Error: Quartus Prime Shell was unsuccessful. 2 errors, 0 warnings
########################################################################
# End of output for job 1843614.v-qsvr-1.aidevcloud
# Date: Mon Jan 31 20:32:55 PST 2022
########################################################################
########################################################################
### batch.sh.e
########################################################################
In file included from oneapi-target-5-run.cpp:33:
./conv.generated_oneapi_header.h:67:41: warning: comparison with NaN always evaluates to false in fast floating point modes [-Wtautological-constant-compare]
inline bool is_nan_f32(float x) {return isnan(x);}
^~~~~~~~
./conv.generated_oneapi_header.h:68:42: warning: comparison with NaN always evaluates to false in fast floating point modes [-Wtautological-constant-compare]
inline bool is_nan_f64(double x) {return isnan(x);}
^~~~~~~~
./conv.generated_oneapi_header.h:69:41: warning: comparison with infinity always evaluates to false in fast floating point modes [-Wtautological-constant-compare]
inline bool is_inf_f32(float x) {return isinf(x);}
^~~~~~~~
./conv.generated_oneapi_header.h:70:42: warning: comparison with infinity always evaluates to false in fast floating point modes [-Wtautological-constant-compare]
inline bool is_inf_f64(double x) {return isinf(x);}
^~~~~~~~
4 warnings generated.
For more details, full Quartus compile output can be found in files quartuserr.tmp and quartus_sh_compile.log.
Error: Compiler Error, not able to generate hardware
llvm-foreach:
dpcpp: error: fpga compiler command failed with exit code 1 (use -v to see invocation)
```