cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
3,984 Views
Registered: ‎01-26-2017

Load/store instructions crash ERROR: [XFORM 203-1403]

Hi, I am getting some strange error as below. The design is not that big and definitely fits into device. This looks more like a compiler limitation\bug. Any idea what these load/store instructions mean and how to potentially solve the error?

 

INFO: [HLS 200-111] Finished Pre-synthesis Time (s): cpu = 00:16:17 ; elapsed = 00:16:16 . Memory (MB): peak = 1479.859 ; gain = 1075.465 ; free physical = 15108 ; free virtual = 28341
WARNING: [ANALYSIS 214-1] Tool encounters 19338 load/store instructions to analyze which may result in long runtime.
ERROR: [XFORM 203-1403] Unsupported enormous number of load/store instructions: 'krnl_test' (/home/demo/krnl_test.cl:52:27) .
ERROR: [HLS 200-70] Failed building synthesis data model.
command 'ap_source' returned error code
while executing
"source [lindex $::argv 1] "
("uplevel" body line 1)
invoked from within
"uplevel \#0 { source [lindex $::argv 1] } "

*** Error in `/home/demo/opt/Xilinx/SDx/2016.3/Vivado_HLS/bin/unwrapped/lnx64.o/vivado_hls': double free or corruption (out): 0x00007f190b0692d0 ***

0 Kudos
6 Replies
Highlighted
Visitor
Visitor
3,921 Views
Registered: ‎12-19-2016

Re: Load/store instructions crash ERROR: [XFORM 203-1403]

 @pangudovskiy

 

Could you attach your code here, so we can see what may be causing this issue.

 

Regards,

Idris 

0 Kudos
Highlighted
Adventurer
Adventurer
3,905 Views
Registered: ‎12-16-2013

Re: Load/store instructions crash ERROR: [XFORM 203-1403]

Hi @pangudovskiy

 

This is my experience.

 

I had similar problem when I was working on large matrix multiplication.

I received this error when I unrolled one of the loops with large number of iterations that wanted to access to different places in the matrix.

For about 1000 loop iterations everything was OK. but for larger unrolled loop the error message was almost the same as yours.

 

So my workaround was reduce the number of unrolled loop and use loop pipelining for optimisation.

 

If you are unrolling a loop, note that unrolling is not scalable. In contrast, pipelining is scalable.

 

Hopefully, this is useful

 

Thanks,

Mohammad

 

0 Kudos
Highlighted
Visitor
Visitor
3,705 Views
Registered: ‎01-26-2017

Re: Load/store instructions crash ERROR: [XFORM 203-1403]

Mohava, thanks for sharing. This issue, basically, limits the amount of FPGA parallelism we can exploit.  Looks like it is related to code patterns and only very simple algorithms can exploit full FPGA resources. I am wondering if switch from OpenCL to C++ would help?

0 Kudos
Highlighted
2,032 Views
Registered: ‎10-31-2017

Re: Load/store instructions crash ERROR: [XFORM 203-1403]

Hi,I just met the same error with you.Have you solved the problem? And could you share your experience with me? 

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
2,014 Views
Registered: ‎09-08-2011

Re: Load/store instructions crash ERROR: [XFORM 203-1403]

Hi wojunmeiruhua123,

 

   If you have a build-able host kernel example you could share I would like to test this out myself and see what might be an ideal way to address it. Or if you are using a github example and could point to what modifications are needed to generate the ERROR message.

 

Regards,

 

Evan

If at first you don't succeed, try redefining success?
0 Kudos
Highlighted
Visitor
Visitor
650 Views
Registered: ‎01-21-2019

Re: Load/store instructions crash ERROR: [XFORM 203-1403]

I have the same problem. I have a big matrix with size of 64800*7. As I understand the problem is because unrolling which i put for the Loops. and the pipelining is the answer for optimization. Is there anythin else  which could be helpful. the synthezise at least take two days for me. Therefore, I am going to share my result here after applying pipelining instead of unrolling. 

I hope it would work.

Sincerely.

0 Kudos