Can FPGA SDK for OpenCL be used in devcloud? In the get started guide of oneAPI, OpenCL for FPGA development is an oneAPI toolkit. I want to test some OpenCL code before using DPC++. I simply tested a case, which shows the following errors. Is there a solution or other guidance? Thanks.
uxxxx@s001-n013:~$ gcc Template.cpp Template.cpp:3:10: fatal error: CL\opencl.h: No such file or directory 3 | #include "CL\opencl.h" | ^~~~~~~~~~~~~ compilation terminated.
Thank you for posting in Intel Communities.
Yes, You can use FPGA SDK for OpenCL in DevCloud.
For more information, Please check the links given below:
Please can you try compiling your code using dpcpp compiler.
You can compile it using the below command line:
If the issue still persists, please share the sample reproducer to try out the same from our end.
We assume that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.