rise-lang / shine

The Shine compiler for the RISE language
https://rise-lang.org
MIT License
73 stars 8 forks source link

Distributed arrays implementation bug #211

Open Bastacyclop opened 3 years ago

Bastacyclop commented 3 years ago

In the CGO17 benchmarks MM NVIDIA and NBody NVIDIA, there are nested reductions with distributed private arrays. Currently the per-thread size of these arrays is bigger than it needs to be.

I assume that the bug lies in AdjustArraySizesForAllocations, but this is just a guess.