Exception in running vector-add on FPGA device on arria10 devcloud
Hello,
I am trying to run vector-add of fpga_compile example on Intel oneAPI devcloud on hardware FPGA by ./fpga_compile.fpga
I have connected through ssh on MobaXterm and I have specified the node to be s001-n083 which runs fpga and its state was free, but now it shows job-execlusive, I have walked through the steps one by one and the fpga emulation works normally, I do the steps (in the build file):
1- cmake ..
2- make fpga
then I wait for 2 hours for the queue, then:
3- ./fpga_compile.fpga
and I receive this error:
Running on device: pac_a10 : Intel PAC Platform (pac_ee00000)
Caught a SYCL host exception:
Native API failed. Native API returns: -42 (CL_INVALID_BINARY) -42 (CL_INVALID_BINARY)
terminate called after throwing an instance of 'cl::sycl::runtime_error'
what(): Native API failed. Native API returns: -42 (CL_INVALID_BINARY) -42 (CL_INVALID_BINARY)
Aborted
using the command
dpcpp -fintelfpga -Xshardware <source_file>.cppSolved the problem, make fpga didn't work on any node. probably the problem is in my side.
Thank you!