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

Re: Arria 10 Hello World

MikeP123
新手
1,229 次查看

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 项奖励
1 解答
MikeP123
新手
1,096 次查看

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 项奖励
3 回复数
aikeu
员工
1,118 次查看

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 项奖励
MikeP123
新手
1,097 次查看

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 项奖励
BoonBengT_Altera
主持人
1,084 次查看

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 项奖励
回复