Intel® High Level Design
Support for Intel® High Level Synthesis Compiler, DSP Builder, OneAPI for Intel® FPGAs, Intel® FPGA SDK for OpenCL™
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
501 Discussions

CL_INVALID_KERNEL_NAME runtime error in while runing on devcloud FPGA node

Beniel_T
Beginner
957 Views

Hi,

I was able to compile and run the code in the emulator as well as was able to build for FPGA hardware.  But when I tried to run the code in FPGA, till the kernel called, the host code worked. But had this error popped up

terminate called after throwing an instance of 'cl::sycl::runtime_error'
what(): Native API failed. Native API returns: -46 (CL_INVALID_KERNEL_NAME) -46 (CL_INVALID_KERNEL_NAME)

I have attached the makefile I used.

 

0 Kudos
5 Replies
ArunJ_Intel
Moderator
919 Views

Hi


Could you please confirm if you are using oneAPI devcloud or FPGA devcloud. Also share with us the qsub command that you are using to request compute node.



Thanks

Arun Jose


Beniel_T
Beginner
912 Views

Hi @ArunJ_Intel,

I'm using intel Devcloud and I'm using job submit script containing bellow line, where the script contains 'make run' the hardware binary.

qsub -l nodes=1:fpga_runtime:ppn=2 -d . $script

 also, I print the platform and the device, before launching the kernel in the code and I get the output as,

Platform name: Intel(R) FPGA SDK for OpenCL(TM)
Device name: pac_a10 : Intel PAC Platform (pac_ee00000)

 After this verbose, at the point I call the kernel, I get the error.

ArunJ_Intel
Moderator
851 Views

Hi


We have a dedicated forum for FPGA related issues. We are Moving this case to High level Design forum for a faster resolution.


Thanks

Arun


BoonBengT_Intel
Moderator
483 Views

Hi @Beniel_T,

 

Thank you for posting in Intel community forum, hope this message find you well and apologies for the delayed in response.
Fortunately we do have a workaround for this error, please do refer to the link here and try out the fix and let us know if that helps.

 

Best Wishes
BB

BoonBengT_Intel
Moderator
452 Views

Hi @Beniel_T,

 

Hope this message find you well, unfortunately as we do not receive any further on clarification provided. Hence, this thread will now be transitioned to community support. If you have new queries or further query on this thread, please feel free to open a new thread or reopen this thread to get support from Intel experts. Otherwise, the community users will further help you with doubts in this thread.

 

Best Wishes
BB

Reply