Hacker News new | ask | show | jobs
by oofbey 453 days ago
Why would that matter? I understood the point was to speed up matrix multiplication by doing the adds and multiplies in a different order. Shouldn't matter whether the datatype is int, float, complex, whatever.
1 comments

One can use this techniques to optimize the multiplier inside the FP FMA unit. However this cannot be used to multiply two floating point numbers as FP arithmetic is not associative.
I'm pretty sure a lot of people doing matrix multiplications are ok with non-associative floating point arithmetic?