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.
Ajmeer Khan M
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:
Since your question is related to FPGA, please note that we have redirected it to the FPGA forum for a faster response.