Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
1651 Discussions

vector-add sample runtime error

StefanoC
Novice
223 Views

Hi all,

I am trying to run the sample vector-add; I followed this userguide (although it seems outdated):

https://github.com/intel/FPGA-Devcloud/tree/master/main/QuickStartGuides/OneAPI_Program_PAC_Quickstart/Arria%2010

 

so I had selected option 2) Arria10 OneAPI and then option 6) Arria 10 - OneAPI, OpenVINO.

 

I generate the Makefile in this way:

cmake .. -DFPGA_DEVICE=Arria10

 

and compiled it:

make fpga

when I run it in this way: 

./vector-add-buffers.fpga

I get this:

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

 what am I doing wrong?

 

0 Kudos
0 Replies
Reply