4 ms·
I tested it on my M1 Mac and it reached 46.78 Gigaflops, which is quite amazing for a CPU running at 3.2 GHz. Isn't that like an average of 14.6 floating point
by magoghm 5y ago
I tested it on my M1 Mac and it reached 46.78 Gigaflops, which is quite amazing for a CPU running at 3.2 GHz. Isn't that like an average of 14.6 floating point operations per clock cycle?
- microtonal 5y agoI hate to post this multiple times, but the M1 has a dedicated matrix co-processor, it can do matrix multiplication at >1300GFLOP/s if you use the native Accelerate framework (which uses the standard BLAS API). The M1 Pro/Max can even do double that (>2600 GFLOP/s) [1]. 46.78 GFLOP/s is not even that great on non-specialized hardware. E.g., a Ryzen 5900X, can do ~150 GFLOP/s single-threaded with MKL. [1] https://github.com/danieldk/gemm-benchmark#1-to-16-threads https://github.com/danieldk/gemm-benchmark#1-to-16-threads
- lostmsu 5y agoIf you look at the comment above about the regular GEMM implementation, M1 actually can do that at 1.6 Teraflops.