[ad_1]
Good day,
Since final week I have been unable to execute code in FPGA {hardware}. I’ve tried other ways of compiling and executing the file, however I all the time have the identical error code:
Operating on gadget: pac_s10 : Intel PAC Platform (pac_ee00000)
Vector dimension: 10000
An exception is caught for vector add.
terminate known as after throwing an occasion of 'sycl::_V1::runtime_error'
what(): Invalid gadget program picture: dimension is zero -30 (PI_ERROR_INVALID_VALUE)
Aborted
This was taking place to me in my challenge, so I attempted executing an instance (instance vector-add), however it turned out I had the identical downside. This occurs in each gadget (Stratix10, Arria10, and Agilex7).
I can virtually say I’ve tried each totally different technique, and I nonetheless cannot discover the error. I’m going to explain all of the steps that acquired me right here:
To begin with, I enter a Stratix10 node as It follows:
From this node, I put together the instance vector-add and I create the required Makefile, setting Stratix10 because the gadget:
As soon as I’ve the makefile, I compile the challenge for FPGA {hardware}:
The compilation is profitable, however when I attempt to execute It, the end result is identical as talked about earlier than:
Be aware that I’m compiling and executing from the identical runtime node to keep away from any compatibility points. I additionally tried compiling in a compilation node and executing in a runtime node (helpful for acquiring reviews, because it says on this publish neighborhood.intel.com/t5/Intel-DevCloud/Unable-to-fully-generate-static-reports/m-p/1578496#M9724) however the end result I acquired was the identical.
In case you marvel, I attempted forcing setting variables, I used aocl diagnose to verify FPGA gadget was hooked up, and I even tried to initialize the FPGA utilizing aocl initialize, however none of them labored. I want to know if there’s any step lacking to execute on {hardware} or know if there’s any temporal difficulty with any of the bodily units.
Any recommendation or assist is absolutely helpful
[ad_2]