a10gx compilation for emulator mode fails
Hi all,
I'm compiling hello_world code for the a10gx card on Quartus 20.2 pro version.
I could compile the code without emulator and .aocx was generated for a10gx board. However, when I add -march=emulator while compiling, it fails with following error:
You are now compiling the full flow!!
aoc: Selected target board a10gx
Unable to load OpenCL platforms
Error: OpenCL kernel compilation FAILED
I've set Quartus location & env variables. I'll appreciate your suggestion why emulator might fail whereas board option works.
Thanks,
Atul
Hi,
Just to help who faced this problem. Following step worked:
- Copied Intel_FPGA_SSG_Emulator.icd manually /etc/OpenCL/vendors/
- aocl diagnose passed and found 'libintelocl_emu.so' library
- Intel(R) FPGA Emulation Platform for OpenCL(TM) listed in diagnosis.
best wishes,
Atul