The alpha, twice a week
That was 7 min.
Get the best new moments in your inbox every Wednesday and Saturday. It's free.
Check your inbox
We sent a link to your address. Click it to finish signing up. Not there in a minute? Look in spam.
or
Dwarkesh Podcast · 7 min · May 22, 2026
Systolic arrays reuse weights to reduce data movement
A systolic array keeps a matrix local and streams changing vectors through it.
The episode’s best minutes
Full analysis- 16:00Moving data can cost more than doing the computation6 min
- 25:20Systolic arrays reuse weights to reduce data movement7 min
- 58:43FPGA lookup tables spend extra gates for flexibilityPro pick 5 min
- 5 more moments in the full episode
“I mean, this is the nature of what a matrix multiplication is, is that you do a lot of multiplication to get one value out.”
Reiner Popeat 30:38 · Dwarkesh PodcastTakeaways
- Matrix multiplication reuses the same weights across many vectors.
- Keeping weights near the logic avoids repeatedly fetching them.
- The array streams inputs through local multiply-accumulate units.
About this segment
A systolic array keeps a matrix local and streams changing vectors through it. Reusing weights this way cuts register-file traffic and lets more computation happen per transfer.
Reiner Pope is CEO of MatX.
Co-founded MatX to design chips for LLMs, betting on HBM and SRAM; former Google TPU architect.

Dwarkesh Patel, Host · Host, Dwarkesh Podcast
Co-wrote The Scaling Era, an oral history of AI; named to TIME100 AI.
From “Chip design from the bottom up – Reiner Pope”, May 22, 2026. Watch the full episode
Thanks. We'll look at and fix what's off.
Transcript
Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.
- 25:28
prior to the Volta generation of NVIDIA GPUs. This kind of thing is what was inside the CUDA cores. And this sort of problem statement is what motivated the introduction of tensor cores, which are more generically called systolic arrays. So if we think about how are we going to solve this problem, like we're spending almost all of our circuit area on something that we just really don't care about and is hidden to the software programmer. And the thing that we actually care about is not most of the area. Well, make this one bigger somehow while keeping this at the same size. That's the goal. So sort of the evolution was like we had baked this much into hardware in this stage that this single line is a multiply accumulate and this single thing was baked into hardware. The idea of a systolic array is to sort of go two levels of
- 26:15
loop up and bake this entire loop out here into hardware. And so the idea being that if we have a much bigger granularity fixed function piece of logic, maybe the taxes we pay on the input and output are much smaller. It sounds like you're suggesting that if you have, if you go up one step in the in the matrix multiply loop that there's some you can tilt the balance more towards compute than communication that's right so there's two effects that we're going to take advantage of here one is just that we can do more stuff before per every trip through our register file and then the other thing we're going to take advantage of is in fact in in in some of this loop we can take advantage of, for example, some certain things staying fixed.
- 27:04
So let's sort of visually we're going to look at this matrix multiplication. So this portion of the loop corresponds to a matrix vector multiplication in fact. So we'll take a matrix and multiply it by a vector. So how do we do this? We take every column gets multiplied by the vector and then summed. So we're going to sum sort of along columns. So this 0 and 3 gets multiplied by the 3 and 7 and gets summed. And then the 1 and 2 gets multiplied by the 3 and 7 and gets summed.
- 27:36
So there is a multiply accumulate associated with every single one of these entries in the matrix. So we'll just draw out these four multiply accumulates. And just to make sure I understand why there's four multiply accumulates, so if each entry in the column that corresponds to the output vector is a dot product, and in this case it'll be like two multiplications and then the addition of those two multiplications, So like you're accumulating- Yeah, so the addition, so really there's only one addition per dot product, but like we would like to start with zero.
- 28:22
The initialization of zero. Yeah. So what we're going to aim for is to have, so we want to have quadratically more compute. We do, we have, we've got sort of X times Y as much compute as we had before. But we're going to want to somehow aim for having only x times as much like communication. And this is sort of the intention so that we get this advantage term going as y. So we've laid down the multiplications, bringing in like we're going to want to bring in a vector of size two. And so that sort of already is in line with our comms target. That's fine. However, we need to somehow manage the communication of this matrix which which which does which exceeds our budget of x and so uh the idea is that in the in an ai context this this matrix is actually going to stay fixed for a long period of time and so instead of like bringing it in from the outside so we've got some register
- 29:30
files sitting over here we we don't want to have like the amount of stuff coming out of this register file this is the term that we want to go uh sort of as as x in some sense um we don't want to bring this full matrix in from the register file every every cycle because we don't have enough um that would cost too much in terms of wiring from the register file and so instead we're going to store um our key trick is that this matrix can be stored locally to the systolic array. And so where we'll store these numbers 0, 1, 2, and 3 in just like a gate called a register that like physically stores these numbers and we're going to reuse these numbers over and over again for a large number of different vectors.
- 30:20
And so the optimization here is that like the nature of matrix multiplication is you can store Or this like square quadratic thing directly where the logic is happening and which is like higher dimension than the, or has an extra dimension compared to the inputs which you keep swapping in and out. That's right. I mean, this is the nature of what a matrix multiplication is, is that you do a lot of multiplication to get one value out.
- 30:53
Like a dot product is the result of a lot of multiplications. and so that optimization means that you you're just like you can stuff a lot of like multiplication in before you get some value out of it that's right that's right yeah so like just to complete the picture here of concretely how that looks um uh i swapped the three and the two here um three and two um so just like this zero and three is going to multiply by the three and seven and so um uh we're gonna form a dot product sort of along columns here.
- 31:24
So somehow we're gonna feed a three and a seven in here. These participate in, sort of, this feeds into this multiplication and also feeds into this multiplication. Likewise, the three feeds into here and also into here. And then we're gonna sum sort of along here with like... Starting at the top of a column, we feed in zeros, and then coming out the bottom, we get results coming out. So sort of just to visually see what we've got, there's a dot product that is performed along columns in a matrix, and that sort of maps exactly to what is done spatially in the systolic array here.
- 32:06
So this is one dot product summed vertically, and this is a second dot product also summed vertically. And then what is the data that needs to go into and out of the register file? We have X amount of data that's coming out here on the output. And we also have sort of this data coming from the input, X amount of data from the input. And so with respect to the input and output vectors, at least, we've sort of met our goal of having only X as much data going in and out of the register file.