[Libre-soc-bugs] [Bug 555] encode a dotproduct in a single instruction

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed Dec 23 20:00:40 GMT 2020


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

--- Comment #7 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Alexandre Oliva from comment #4)
> fma can be used in reduce mode for dot-product
> 
> but matrix multiply amounts to multiple parallel dot-products, so you
> woulnd't want non-reduce fma for that

in my mind it would make sense simply to do an outer for-loop on a reduce-fma

> what I can't quite picture as useful (which definitely is no authoritative)
> is
> reduce on the multiply, rather than on the add.

can you write that out in pseudocode?

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


More information about the libre-soc-bugs mailing list