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

vector-add sample runtime error


Hi all,

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


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: 


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)

 what am I doing wrong?


0 Kudos
1 Reply