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

Arria 10 Hello World

MikeP123
Novice
786 Views

Hello,

 

I'm running into problems getting the vector-add to work w/ an FPGA.    I keep getting the error that the device program image size is zero.  I must be missing a step somewhere.  Any help would be appreciated.  Thanks.

 

To reproduce -

ssh devcloud
git clone https://github.com/oneapi-src/oneAPI-samples.git
cd oneAPI-samples/DirectProgramming/C++SYCL/DenseLinearAlgebra/vector-add/
mkdir build
cd build

qsub -I -l nodes=1:fpga_compile:ppn=2 -d .
cmake .. -DFPGA_DEVICE=arria10
make fpga
exit

qsub -I -l nodes=1:fpga_runtime:arria10:ppn=2 -d .
cd 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
2 Replies
AlekhyaV_Intel
Moderator
738 Views

Hi,


Thank you for posting in Intel Communities. We could observe a similar behaviour while running the commands provided by you. We are triaging this further. Will get back to you with an update soon.


Regards,

Alekhya


0 Kudos
BoonBengT_Intel
Moderator
520 Views

Hi @MikeP123,

 

Thank you for posting in Intel community forum, hope all is well and apologies for the delayed in response.

I see that you have a new thread posted with the similar challenges faced.

Hence would recommend using that newer thread moving forward and close the older one.

Please do let us know if there any concern on this.

 

Best Wishes

BB

 

0 Kudos
Reply