Intel® High Level Design
Support for Intel® High Level Synthesis Compiler, DSP Builder, OneAPI for Intel® FPGAs, Intel® FPGA SDK for OpenCL™
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
453 Discussions

a10gx compilation for emulator mode fails

Atul_Ghalame
Novice
257 Views

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

0 Kudos
1 Solution
Atul_Ghalame
Novice
225 Views

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 

View solution in original post

1 Reply
Atul_Ghalame
Novice
226 Views

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 

View solution in original post

Reply