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

Functor kernel calling function

DorianL
Novice
211 Views

Hi everyone,

 

I wanted to know if it was possible to call a simple function (to process variable for exemple) in a functor kernel. It would be very efficient to be able to call a function in a kernel instead of just writing the snippet of code again and again to process something. Thank you !

 

DorianL

0 Kudos
4 Replies
aikeu
Employee
170 Views

Hi DorianL,


Are you refering to using the linux-socfpga kernel?


Thanks.

Regards,

Aik Eu


0 Kudos
aikeu
Employee
121 Views

Hi DorianL,


Any follow up from the previous comment?


Thanks.

Regards,

Aik Eu



0 Kudos
DorianL
Novice
108 Views

Hi @aikeu,

 

I found the solution with the SYCL_EXTERNAL macro and now i can call functions in kernels. Thank you for your help !

 

DorianL

0 Kudos
aikeu
Employee
97 Views

Hi DorianL,


Glad to hear that you have found your solution. I will close the thread for now.


Thanks.

Regards,

Aik Eu


0 Kudos
Reply