Forum Discussion

Wei-Chih's avatar
Wei-Chih
Icon for Occasional Contributor rankOccasional Contributor
3 years ago

run ONEAPI devcloud FPGA Hardware issues

Hello Intel ONEAPI devcloud

I meet some issues when i run my code on devcloud jupyter using fpga hardware. (follow this website tutorial: https://devcloud.intel.com/oneapi/documentation/base-toolkit/)

I can run my code by using GPU and FPGA emulator but when I tried to run FPGA hardware node it will get errors as below:

for arria10 error :
terminate called after throwing an instance of 'cl::sycl::runtime_error'
what(): Native API failed. Native API returns: -42 (CL_INVALID_BINARY) -42 (CL_INVALID_BINARY)
make: *** [run_fpga_hardware] Aborted

for stratix10 error:
terminate called after throwing an instance of 'cl::sycl::nd_range_error'
what(): Non-uniform work-groups are not supported by the target device -54 (CL_INVALID_WORK_GROUP_SIZE)
make: *** [run_hw] Aborted

Do you know what are the problems and how can I modify my code?

thanks

10 Replies

  • KennyT_altera's avatar
    KennyT_altera
    Icon for Super Contributor rankSuper Contributor

    Hi,


    Thanks for using Intel community forum,


    Kindly expect some delay in the reply due to holiday.


    Thanks,


  • aikeu's avatar
    aikeu
    Icon for Regular Contributor rankRegular Contributor

    Hi Wei-Chih,


    May I know are you modifying your code using the VectorAdd sample project?

    Can the VectorAdd sample project run on properly on your side?


    Thanks.

    Regards,

    Aik Eu


  • Wei-Chih's avatar
    Wei-Chih
    Icon for Occasional Contributor rankOccasional Contributor

    Hi Aik

    I did the vector add before, all devices can run, but it seems stratix10 have connection problem now.

  • aikeu's avatar
    aikeu
    Icon for Regular Contributor rankRegular Contributor

    Hi Wei-Chih,


    Are you able to access the other nodes for Stratix10?

    Nodes with Stratix 10: (2 available/5 total)

    s005-n005 s005-n008

    --------------------------------------------------------------------------------------

    Nodes with Stratix 10 OneAPI: (3 available/3 total)

    s001-n142 s001-n143 s001-n144


    Thanks.

    Regards,

    Aik Eu


    • Wei-Chih's avatar
      Wei-Chih
      Icon for Occasional Contributor rankOccasional Contributor

      Hi Aik

      I have tried s001-n142 s001-n143 s001-n144, but stratix10 nodes are still having the error

  • aikeu's avatar
    aikeu
    Icon for Regular Contributor rankRegular Contributor

    Hi Wei-Chih,


    May I know is it a connection problem or it is a code running problem?

    Any return logs to show?


    Thanks.

    Regards,

    Aik Eu


  • Wei-Chih's avatar
    Wei-Chih
    Icon for Occasional Contributor rankOccasional Contributor

    Hi Aik

    I think it's not code running problem cause I can use Arria10 normally. Below is error message.

  • aikeu's avatar
    aikeu
    Icon for Regular Contributor rankRegular Contributor

    Hi Wei-Chih,


    I see there is a hardware error for Stratix10 also after I tried with it using Jupyter Lab and Mobaxterm access. Seems like the vector add project is not working on Stratix10 but only Arria10 was working fine. I will submit a ticket regarding this matter and it will take time to resolve this.

    May I know if there is any concern on your side regarding this?


    Thanks.

    Regards,

    Aik Eu


  • Wei-Chih's avatar
    Wei-Chih
    Icon for Occasional Contributor rankOccasional Contributor

    Hi Aik

    Thanks. I will use Arria10 to test my own project currently, if you fix Stratix10 issue please inform me cause I intent to compare different fpga hardwares on my project.

  • aikeu's avatar
    aikeu
    Icon for Regular Contributor rankRegular Contributor

    Hi Wei-Chih,


    Sure, will inform you through email once the Stratix10 hardware running issue resolved.

    I will close this thread for now.


    Thanks.

    Regards,

    Aik Eu