Forum Discussion

cagxel's avatar
cagxel
Icon for New Contributor rankNew Contributor
2 years ago
Solved

PI_ERROR_DEVICE_NOT_AVAILABLE while executing/debugging FPGA_Compile example on EMULATOR

Hello, I am trying to compile and debug the SYCL++_FPGA examples on Github. I am getting following error when I try to compile for emulator. Caught a SYCL host exception: Native API failed. Nativ...
  • cagxel's avatar
    12 months ago

    Hello, I was able to solve the problem,

    Turns out setting the variable CL_CONTEXT_MPSIM_DEVICE_INTELFPGA causes problems with emulation and debugging. Unsetting this variable fixed my problem.