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

Migrating different kernels between FPGA and GPU

There are two kernels. One kernel is targeted on FPGA, and another one is targeted on GPU. There are separate files to store the fpga kernel and gpu kernel. Since the GPU kernel is not optimized for FPGA, the FPGA offline compiler only compile the fpga kernel by following the device link instruction and link the fpga image to the main function and GPU kernel. 

But the compiler said that dpcpp: note: diagnostic msg: The FPGA image does not include all device kernels from main.o. Please re-generate the image

As the GPU kernel is not optimized for FPGA, it is not feasible to compile all kernels into FPGA and in fact, the GPU kernel would not run on FPGA at all. 

The question is, how to migrate different kernels through different queue into different FPGA and GPU devices? The official document only describes the migrating between CPU and GPU.

0 Kudos
1 Reply
Highlighted
Moderator
82 Views

Hi,

Thanks for reaching out to us!

Since your issue is related to FPGA, we are moving this query to the FPGA forum for a faster response.


Regards

Goutham


0 Kudos