by leiroigh · 2y ago · 0 comments
I don't see how people should glorify this with the word "algorithm". It is a trivial undergrad homework exercise, once you give the hint "use parallel reduce / fold / prefixsum".
This may involve more interesting tradeoffs if you deal with large or sparse matrices or matrix-free operators.
The trouble with comments like this is that they degrade discussion put others down without really teaching us anything.
https://hn.algolia.com/?dateRange=all&page=0&prefix=true&sor...