Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
The Intel sign-in experience is changing in February to support enhanced security controls. If you sign in, click here for more information.
19688 Discussions

OpenCL 2.1 implementation for FPGA PAC D5005

sihong
Beginner
350 Views

Hi,

I'm new to installing PAC D5005 on Ubuntu 20.04. I installed Acceleration Stack v2.0.1 including Quartus 19.2 and OpenCL 1.0 Intel FPGA SDK.

(CL kernel(.cl) can be successfully compiled with aoc compiler.)

 

I'm trying to use SYCL with DPC++ compiler (from https://github.com/intel/llvm sycl branch), but it requires OpenCL 2.1 or higher implementation.

 

How can I get OpenCL 2.1 or higher implementation for Intel FPGA SDK supports PAC D5005?

 

Thank you.

0 Kudos
4 Replies
AnilErinch_A_Intel
322 Views

Hi ,

Did you consider the interoperability option of OpenCL with SYCL.


https://www.intel.com/content/www/us/en/developer/articles/technical/interoperability-dpcpp-sycl-ope...


Thanks and Regards

Anil


sihong
Beginner
310 Views

Thank you for your reply.

 

I didn't check the interoperability but, it doesn't seem to answer what I looking for.

The article says not only no mention of Intel FPGA but also the interoperability requires OpenCL-C 1.2 interoperable implementations.

AnilErinch_A_Intel
240 Views

Hi ,

There are BSPs available which can help in running the OneAPI on D5005.

https://www.intel.com/content/www/us/en/developer/articles/release-notes/intel-oneapi-dpcpp-fpga-add...

Please let us know whether using the same resolves the issue.


Thanks and Regards

Anil


sihong
Beginner
189 Views

Unfortunately, I gave up the above installation method.

 

Instead, I installed OneAPI-basekit and FPGA addon.

I fixed aocl install script due to supported os checking failed(my host OS is Ubuntu 18.04 kernel version 5.4.0).

 

It works now. Thank you.

Reply