Intel® High Level Design
Support for Intel® High Level Synthesis Compiler, DSP Builder, OneAPI for Intel® FPGAs, Intel® FPGA SDK for OpenCL™

C++ for FPGA

student1
Beginner
608 Views

Hi,

Can I write a program in C++, compile using DPC++ compiler generate bit stream using the add on toolkit and offload it to an FPGA. My question is ,can the source code be in C++ or should it only be DPC++?

 

Thank you.

0 Kudos
2 Replies
BoonBengT_Intel
Moderator
571 Views

Hi @student1,

 

Thank you for posting in Intel community forum and hope all is well.
Per my understanding, I would say yes you would be able to compile C++ code with DPC++ compiler, as it was build based on C++.
However for best performance on specific accelerators, there might be a specific tuning required in the code to allow that. (More details on the cross performance architecture can be found here)
Note: here are also some good references for the supported/required utilities for OneAPI.

 

Best Wishes
BB

0 Kudos
BoonBengT_Intel
Moderator
530 Views


Hi @student1,

 

As we do not receive any further clarification on what is provided. Hence thread will now be transitioned to community support for further help on doubts in this thread. Pleasure having you here.

 

Best Wishes
BB

0 Kudos
Reply