Forum Discussion
OpenCL platform ID is empty
Hi @GabrielMarco,
Unfortunate to hear that, when running the .sh files to set the environment variable, what are the output?
Also which oneAPI version that you are using and which OS you are building with?
Best Wishes
BB
- GabrielMarco1 year ago
New Contributor
Hi @BoonBengT_Altera . I'm using version oneAPI base toolkit 2025.0.1, and oneAPI DPC++/C++ Compiler is 2025.0.0, because I want to use hls4ml which has not yet been updated to the new version of oneapi. My SO is Linux
source /opt/intel/oneapi/setvars.sh:: initializing oneAPI environment ...
bash: BASH_VERSION = 5.2.21(1)-release
args: Using "$@" for setvars.sh arguments:
:: advisor -- latest
:: ccl -- latest
:: compiler -- latest
:: dal -- latest
:: debugger -- latest
:: dev-utilities -- latest
:: dnnl -- latest
:: dpcpp-ct -- latest
:: dpl -- latest
:: ipp -- latest
:: ippcp -- latest
:: ishmem -- latest
:: mkl -- latest
:: mpi -- latest
:: pti -- latest
:: tbb -- latest
:: umf -- latest
:: vtune -- latest
:: oneAPI environment initialized ::- GabrielMarco1 year ago
New Contributor
And he sometimes complains about this error:
/home/marcolino/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