Intel® High Level Design
Support for Intel® High Level Synthesis Compiler, DSP Builder, OneAPI for Intel® FPGAs, Intel® FPGA SDK for OpenCL™
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
441 Discussions

Deep dive for FPGA compilation.

Ajmeer_Khan
Employee
274 Views

Hi ,

I have compiled the kernel code and source code using dpc++. I want to know,   how dpc++ compiler differentiate the kernel code and source code and how to compile the source code and kernel code seperately and how to generate the bitstream for FPGA and how to link host code and device code.

 

Regards,

Ajmeer Khan M

0 Kudos
2 Replies
RahulV_intel
Moderator
257 Views

Hi Ajmeer,

 

To compile only the device code, you may use this compilation flag "-fsycl-device-only".

 

To know more about the compilation process, kindly refer to the below links:

https://github.com/intel/llvm/blob/sycl/sycl/doc/CompilerAndRuntimeDesign.md

https://github.com/intel/llvm/tree/sycl/sycl/doc

https://software.intel.com/content/dam/develop/external/us/en/documents/oneapi-programming-guide.pdf

 

Since your question is related to FPGA, please note that we have redirected it to the FPGA forum for a faster response.

 

 

Thanks,

Rahul

EBERLAZARE_I_Intel
216 Views

Hi,


May I know if you are still facing the issue?


Reply