[Libre-soc-isa] [Bug 1071] add parallel prefix sum remap mode

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Fri Apr 28 09:37:57 BST 2023


https://bugs.libre-soc.org/show_bug.cgi?id=1071

--- Comment #15 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Jacob Lifshay from comment #14)
> (In reply to Luke Kenneth Casson Leighton from comment #13)

> > what's the story there? why is dynamic length needed?
> 
> because, for code that is trying to reduce or prefix-sum a large array, it
> needs to be able to have a dynamic length for the vector tail (or similar
> scenarios):
> for i in range(0, length, chunk_size):
>     sum += reduce_chunk(VL=chunk_size)
> sum += reduce_tail(VL=length % chunk_size)  # dynamic VL here

drat, you're right.

of course. okaaay sigh so this involves creating a new Form, with Parallel
Reduction similar to svshape2 "carving out" its own niche... urrr...

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libre-SOC-ISA mailing list