Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Employee
85 Views

Deep dive for FPGA compilation.

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
Highlighted
Moderator
68 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

0 Kudos
Highlighted
27 Views

Hi,


May I know if you are still facing the issue?


0 Kudos