Intel® High Level Design
Support for Intel® High Level Synthesis Compiler, DSP Builder, OneAPI for Intel® FPGAs, Intel® FPGA SDK for OpenCL™
703 Discussions

Re: Arria 10 Hello World

MikeP123
Novice
939 Views

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

0 Kudos
1 Solution
MikeP123
Novice
806 Views

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

 

View solution in original post

0 Kudos
3 Replies
aikeu
Employee
828 Views

Hi MikeP123,


Have you done the initialization of the board?

Can refer to the related steps as below:

https://www.intel.com/content/www/us/en/docs/oneapi/programming-guide/2023-0/fpga-board-initialization.html


Thanks.

Regards,

Aik Eu


0 Kudos
MikeP123
Novice
807 Views

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

 

0 Kudos
BoonBengT_Intel
Moderator
794 Views

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.


0 Kudos
Reply