Forum Discussion
cagxel
New Contributor
1 year agoPI_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...
- 1 year 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.
BoonBengT_Altera
Moderator
1 year agoHi @cagxel,
Thank you for posting in Intel community forum and hope all is well.
Noted on the error mention for the emulation build. It seems to be indicating that there is error in the device it is trying to compile with.
May I know which OS the host machine that you are using to build this with?
And to confirm the version used are 2024.2? And is there any changes to the cmake files?
Hope to hear from you soon.
Best Wishes
BB