Application Acceleration With FPGAs
Programmable Acceleration Cards (PACs), DCP, FPGA AI Suite, Software Stack, and Reference Designs
498 Discussions

cannot run GitHub samples on OneAPI FPGA emulator

wan11
Beginner
195 Views

I recently installed Ubuntu version 22.04 on my Mac2018. After the installation, I successfully installed the Intel® oneAPI Base Toolkit (Base Kit) along with the FPGA Support Package for the Intel oneAPI DPC++/C++ Compiler.

However, I cannot compile the program on the FPGA emulator although I tried the recommended configurations by following Intel's documentation. The error shows below.


wanyu@wanyu-MacBookPro15-1:~/Desktop/vector-add/build$ make fpga_emu
[ 50%] Linking CXX executable ../vector-add-usm.fpga_emu
OpenCL platform ID is empty
OpenCL platform name is empty
Failed to find any of these OpenCL platforms:
  Intel(R) FPGA Emulation Platform for OpenCL(TM)
  Intel(R) FPGA Emulation Platform for OpenCL(TM) (preview)
llvm-foreach:
icpx: error: fpga compiler command failed with exit code 14 (use -v to see invocation)
make[3]: *** [src/CMakeFiles/vector-add-usm.fpga_emu.dir/build.make:97: vector-add-usm.fpga_emu] Error 14
make[2]: *** [CMakeFiles/Makefile2:159: src/CMakeFiles/vector-add-usm.fpga_emu.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:192: src/CMakeFiles/fpga_emu.dir/rule] Error 2
make: *** [Makefile:163: fpga_emu] Error 2


Could you kindly provide guidance on the specific configurations or steps that need to be performed during the installation or post-installation to enable FPGA emulator support?

Thank you for your time and support. I look forward to your response.

Thank you,
Wanyu

Labels (2)
0 Kudos
0 Replies
Reply