Forum Discussion

MikeP123's avatar
MikeP123
Icon for New Contributor rankNew Contributor
2 years ago
Solved

Re: Arria 10 Hello World

Hello,

Are there any updates on this. I get the same error when running outside of DevCloud. Any help would be appreciated. Thanks.

u205691@s001-n083:~/oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/vector-add/build$ ./vector-add-buffers.fpga
Running on device: pac_a10 : Intel PAC Platform (pac_ee00000)
Vector size: 10000
An exception is caught for vector add.
terminate called after throwing an instance of 'sycl::_V1::runtime_error'
what(): Invalid device program image: size is zero -30 (PI_ERROR_INVALID_VALUE)
Aborted

  • Thanks for your reply. The problem turned out to be with the compilation step. I had been specifying -DFPGA_DEVICE=Arria10, but this is the correct way to do it -

    cmake .. -DFPGA_DEVICE=/opt/intel/oneapi/intel_a10gx_pac:pac_a10

    Thanks,

    Mike

3 Replies

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

      Thanks for your reply. The problem turned out to be with the compilation step. I had been specifying -DFPGA_DEVICE=Arria10, but this is the correct way to do it -

      cmake .. -DFPGA_DEVICE=/opt/intel/oneapi/intel_a10gx_pac:pac_a10

      Thanks,

      Mike

  • Hi @MikeP123,


    Thanks for sharing the cause of the problem, and good to know that it has been overcome.

    There are two compilation flow that oneAPI provided, by mentioning the device name its the IP Authoring (custom hardware IP component) and with specifying the board its the full system flow (full-stack FPGA platform).


    With no further clarification on this thread, it will be transitioned to community support for further help on doubts in this thread. Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support.

    Thank you for the questions and as always pleasure having you here.


    Best Wishes

    BB


    p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.