by xpct · 1mo ago · 0 comments
They don't really show it here, but supposedly a Cerebras' chip is sub-divided into a 2D mesh of what they call PEs (cores). So data flow generally flows in two axis, and maintains consistent timings to its 4 neighboring cores. They show the layers flowing from left-to-right being streamed by PEs, but I wonder how true that ends up being: maybe the communications are easier to stream via diagonals, or some other shape that has better topology for data flow.
Then, even from die shots of CPUs and GPUs we often see that cores are tiled as squares, and those don't have the same cross-core connection and streaming requirement. Now, I assume that some parts of what we call a core can be moved around more freely while maintaining whatever power/heating/timing requirements we have, so perhaps it's easier to 'force' a square by moving those loose parts around. But why do we confine those to squares? Is super-core layout just something not worth investing time into, like how interconnects are timed, non-convex tilings, and distances to I/O?
And for streaming architectures like Cerebras, why aren't other types of tilings considered, something like a hexagon grid? This could have 3 inputs / 3 outputs, which could allow more complex data flow (?). Similarly, we could have 8 connections with longer diagonals in a square tiling, etc.
I guess, what are the tradeoffs in place such that so many chip designs seem to reuse square tilings both locally and globally?
With flexible addressing and bus-linking, along any set-line. So configuration happens the same way, with the same efficiency, regardless of whether any of the unselected elements are failed or not. As long as failures don't exceed the unselected-elements per element-array-set number.
And that number of unselected cores per element-array-set, is chosen to put wafer yields where they want them.
Trading a generous fixed wafer under-utilization for high yields, uniform configuration and processing efficiency, despite variable element failures.
Wouldn't a rectangular brick layout be topologically a hexagonal tiling
I could see that square packing is more simple, but by shifting elements per row I don't see why it couldn't propagate at odd angles.
Diagonal wires worked everywhere at 180nm and on a few fabs at 90nm if you rotated a whole metal layer (i.e. all metal-3 wires are diagonal to the metal-2 wires) and basically nowhere beyond 90nm.
OPC killed it. Too hard to OPC the diagonal stuff. And even if you rotate an entire metal layer, the contacts between a rotated and un-rotated layer would require enormous metal enclosures.