52 ms·
Ah, it's actually 100gflops (not 100Gfmas) because the fmla instruction is fused. I just ran it on CPU, single core (no pinning), just using the aarch64 fmla i
by brrrrrm 5y ago
Ah, it's actually 100gflops (not 100Gfmas) because the fmla instruction is fused.
I just ran it on CPU, single core (no pinning), just using the aarch64 fmla instruction.
Using pure BLAS (multithreaded, with the MM ISA extension), I get like 1.2TFlops in fp32 on the whole device. Code for the blas test: https://jott.live/code/blas_test.cc https://jott.live/code/blas_test.cc
- bullen 5y agoSo a friend that has a M1 did this test: https://github.com/brianolson/flops/blob/master/flops.c https://github.com/brianolson/flops/blob/master/flops.c And the 5nm M1 has ~2.5Gflops/W which is not a huge increase compared to the 28nm Pi 4 at 2Gflops/W. No-moores law in effect. Game Over!
- bullen 5y agoCan you run it without SIMD (fmla)? Same as these tests: http://web.eece.maine.edu/~vweaver/group/green_machines.html http://web.eece.maine.edu/~vweaver/group/green_machines.html