Intel® High Level Design
Support for Intel® High Level Synthesis Compiler, DSP Builder, OneAPI for Intel® FPGAs, Intel® FPGA SDK for OpenCL™
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
723 Discussions

Functor kernel calling function

DorianL
Novice
1,101 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
1,060 Views

Hi DorianL,


Are you refering to using the linux-socfpga kernel?


Thanks.

Regards,

Aik Eu


0 Kudos
aikeu
Employee
1,011 Views

Hi DorianL,


Any follow up from the previous comment?


Thanks.

Regards,

Aik Eu



0 Kudos
DorianL
Novice
998 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
987 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