Forum Discussion

RAlbe4's avatar
RAlbe4
Icon for New Contributor rankNew Contributor
6 years ago

error: function 'read_channel_altera' is not supported by the Intel(R) FPGA SDK for OpenCL(TM), and no user definition is provided

Hello,

I need some help to get rid of this error. I am running this on Arria 10 GX.

Thanks

2 Replies

  • FawazJ_Altera's avatar
    FawazJ_Altera
    Icon for Frequent Contributor rankFrequent Contributor

    Hello,

    if you are migrating your kernel from older OpenCL SDK to a newer one, I assume this is due to the old name of the API used. Try to change write_channel_altera to write_channel_intel and read_channel_altera to read_channel_intel, and let me know if this could fix the error.

    Thank you.

  • RAlbe4's avatar
    RAlbe4
    Icon for New Contributor rankNew Contributor

    Hello Fjumaah,

    Your suggestion helped me. I can compile my kernel now without any issue.

    Thank you