How 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):