Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
1641 Discussions

About FPGA SDK for OpenCL in devcloud

yyjpro
New Contributor I
772 Views

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.

  

0 Kudos
3 Replies
VaradJ_Intel
Moderator
727 Views

Hi,

 

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:

 

https://devcloud.intel.com/oneapi/

 

https://www.intel.com/content/www/us/en/support/programmable/support-resources/design-guidance/opencl-software-support.html

 

Please can you try compiling your code using dpcpp compiler.

 

You can compile it using the below command line:

 

dpcpp Template.cpp

 

If the issue still persists, please share the sample reproducer to try out the same from our end.

 

Thank You.

0 Kudos
VaradJ_Intel
Moderator
683 Views

Hi,


We have not heard back from you.


Could you please give us an update? 


Thank you.


0 Kudos
VaradJ_Intel
Moderator
651 Views

Hi,

 

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.

 

Thank You.

 

 

0 Kudos
Reply