Re:Beating NumPy matrix multiplication in 150 lines of C
by salykova on Thursday July 04, 2024 @12:08PM
(#40875968)
as we discussed earlier, the code really needs Clang to attain high performance
Re:Beating NumPy matrix multiplication in 150 lines of C
by SushiHippie on Thursday July 04, 2024 @12:27PM
(#40876129)
Agreed https://0x0.st/XakD.png ;)
16 threads: https://0x0.st/XaDB.png
32 threads: https://0x0.st/XaDM.png
But still not as fast as it ran on your 7700(X) and NumPy is 2-3x faster than matmul.c on my PC.
I also changed KC to some other values (500: https://0x0.st/XaD9.png, 2000: https://0x0.st/XaDp.png), but it didn't change much performance wise.