4 ms·
For SIMD it is fairly easily to predict the range of performance of an optimized kernel just based on looking at the micro architecture. M1 = 4x128 Zen3 = 4x2
by TinkersW 6y ago
For SIMD it is fairly easily to predict the range of performance of an optimized kernel just based on looking at the micro architecture.
M1 = 4x128
Zen3 = 4x256
Intel = can't make up its mind some are 2x256, others 2x512, and some others are weird combos like (2x256 or 1x512)
M1 on paper looks half throughput compared to Zen3 SIMD per cycle, but because of larger caches and lots of other small advantages it probably closes that margin a little.
Zen3/Intel are also running at higher clock rate, at least on a desktop version.
https://www.sisoftware.co.uk/ https://www.sisoftware.co.uk/ is a good benchmark for SIMD code, but it is Windows so no M1 results:(
- celrod 6y agoSource for Zen3 having 4x per cycle? That's impressive and I'd like to read more about it. Another comment mentioned 4, 2 of which are fma. Works this imply that a matmul kernel for zen3 should have a 2:1 ratio of fmas to mul+add?