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

Migrating different kernels between FPGA and GPU

Yongfa
Employee
748 Views

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
2 Replies
GouthamK_Intel
Moderator
739 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
AnilErinch_A_Intel
624 Views

Hi ,

We have the option to make CUDA code as oneAPI compatible. Please check the link below

https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/dpc-compatibility-tool.html

let us know if that helps.

Thanks and Regards

Anil


0 Kudos
Reply