ContributionsMost RecentMost LikesSolutionsHow do i solve OpenCL Platform? 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): Re: OpenCL platform ID is empty 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 Re: OpenCL platform ID is empty 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 :: Re: OpenCL platform ID is empty Hello, I tried, but it didn't work, I still get the openCL platform error, I followed the instructions given and nothing worked OpenCL platform ID is empty I'm trying to use oneAPI, I followed the tutorial on Altera's YouTube channel, where I would have to install the following packages: OneAPI base toolkit and FPGA supporting DCP++/C++ Compile, I followed the steps as in the tutorial. mkdir build cd build cmake .. -DPART=1 make fpga_emu but when executing this last command it 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/fpga_emu.dir/build.make:97: vector_add.fpga_emu] Error 14 make[2]: *** [CMakeFiles/Makefile2:85: CMakeFiles/fpga_emu.dir/all] Error 2 make[1]: *** [CMakeFiles/Makefile2:92: CMakeFiles/fpga_emu.dir/rule] Error 2 make: *** [Makefile:124: fpga_emu] Error 2 How do I solve this? Give me the step by step, because the Intel documentation is lacking, how do I configure this open