- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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):
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @GabrielMarco,
Thank you for posting in Intel community forum, hope all is well and apologies for the delayed in response.
I believe you have run the setvars.sh to setup the environment however the error are still the same.
Just to check have you run the aocl install before? If you have done so please do check the installation by running the aocl diagnose and share the result here for us to better understand the situation.
As for the error in ac_fixed.hpp, if the installation is correct it, usually it should be in the following path: <installation_path>/intel/oneapi/compiler/latest/include/sycl/ext/intel/ac_types/
Hence you could verify the following path.
Hope that clarify
Best Wishes
BB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @GabrielMarco,
Good day, just following up on the previous clarification.
By any chances did you managed to look into it?
Hope to hear from you soon.
Best Wishes
BB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @GabrielMarco,
Greetings, as we do not receive any further clarification/updates on the matter, hence would assume challenge are overcome.
Please login to ‘ https://supporttickets.intel.com/s/?language=en_US’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions. For new queries, please feel free to open a new thread and we will be right with you. Pleasure having you here.
Best Wishes
BB

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page