Intel® Xeon® Processor and Server Products
Intel® Xeon® Processors, Data Center Products including boards, integrated systems, and RAID Storage

How do I solve OpenCL Platform?

GabrielMarco
Beginner
246 Views

I've been trying to use oneAPI for over a month, but it always gives this error:

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]: *** [CMakeFiles/lib.dir/build.make:113: libmyproject-1bb69f05.so] Error 14
make[2]: *** [CMakeFiles/Makefile2:102: CMakeFiles/lib.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:109: CMakeFiles/lib.dir/rule] Error 2
makeup: *** [Makefile:124: lib] Error 2
Traceback (most recent call last):

In my research, I discovered that I need the Intel® FPGA Add-on for the Intel® oneAPI Base Toolkit, but I can't find this package anywhere, and when I search on Google, I'm redirected to FPGA Support Package for Intel® oneAPI DPC++/C++ Compiler, I downloaded it, installed it and it always returns the same error, can someone help me!


When this is not the error this appears:

/home/marcolino/Documentos/python/sample_test/src/firmware/defines.h:4:10: fatal error: 'sycl/ext/intel/ac_types/ac_fixed.hpp' file not found
4 | #include <sycl/ext/intel/ac_types/ac_fixed.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[3]: *** [CMakeFiles/lib.dir/build.make:76: CMakeFiles/lib.dir/src/firmware/myproject.cpp.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:102: CMakeFiles/lib.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:109: CMakeFiles/lib.dir/rule] Error 2
make: *** [Makefile:124: lib] Error 2
Traceback (most recent call last):

Labels (1)
0 Kudos
1 Reply
Poojitha
Employee
182 Views

Hi GabrielMarco,

 

We understand that you have concerns regarding the FPGA product. To ensure your query is addressed promptly, we kindly request that you post your questions in the below Intel FPGA Community forum

https://community.intel.com/t5/FPGA/ct-p/fpga


Please make sure to select the appropriate sub-forum topic for your inquiry.

 

We believe this will connect you with our community experts who can assist you effectively.

Hence, we will be closing this ticket.


We appreciate your understanding!


Best regards,

Poojitha N

Intel Customer Support Technician


0 Kudos
Reply