News for hackers. Stuff that matters.
Re:Karatsuba Matrix Multiplication and Its Efficient Hardwar... by oofbey on Wednesday March 19, 2025 @01:28PM (#43414901)
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.
Re:Karatsuba Matrix Multiplication and Its Efficient Hardwar... by sifar on Wednesday March 19, 2025 @02:19PM (#43415527)
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.
Re:Karatsuba Matrix Multiplication and Its Efficient Hardwar... by saagarjha on Thursday March 20, 2025 @04:26AM (#43420840)
I'm pretty sure a lot of people doing matrix multiplications are ok with non-associative floating point arithmetic?