ara icon indicating copy to clipboard operation
ara copied to clipboard

minimal example that reproduce hang on ara-2-lanes.

Open yanghao opened this issue 3 years ago • 7 comments

Note: this minimal example is not as strong as the full blown program, which not only hangs on ara-2-lanes but also ara-4-lanes. And it seems there is a pattern that VL==128 hangs ara-2-lanes and VL==256 hangs ara-4-lanes (those are reproduced), and maybe VL==512 would hang ara-8-lanes, VL==1024 would hang ara-16-lanes (those are not tried out yet).

yanghao avatar Nov 12 '21 07:11 yanghao

Thanks a lot, @yanghao! I answered here -> https://github.com/pulp-platform/ara/issues/87

mp-17 avatar Nov 12 '21 10:11 mp-17

Hello @yanghao, sorry for the very long delay.

I should have fixed the hang issue in the PR https://github.com/pulp-platform/ara/pull/102. Check that out and see if your full program still hangs!

Best, Matteo

mp-17 avatar Jan 27 '22 18:01 mp-17

The minimal program that reproduce the hang indeed can pass now.

However, the full-blown program, even with reduced vector length, which was previously passing, is now hanging. Same for bigger values of vector length.

yanghao avatar Feb 01 '22 08:02 yanghao

What a shame! The number of fetched mask elements should be okay now; can you share the full program? If yes, I will work on it.

mp-17 avatar Feb 01 '22 09:02 mp-17

The full program unfortunately cannot be shared ... let me try to see if I can create another smaller program to reproduce it. (could take a while)

yanghao avatar Feb 01 '22 11:02 yanghao

We have implemented new fixes for Ara. Two PRs should still be approved but are ready:

https://github.com/pulp-platform/ara/pull/114 https://github.com/pulp-platform/ara/pull/123

Do you want to check them out with your full program?

mp-17 avatar Jul 12 '22 15:07 mp-17

The fixes are in the main branch now; feel free to try your program again and let us know! :-)

mp-17 avatar Aug 02 '22 09:08 mp-17

@mp-17 Sorry for getting back late ... I finally got my workspace again and tested it out, all working fine now! Thanks for the effort guys!

yanghao avatar Sep 28 '22 09:09 yanghao