S4 Computer architecture · Practice
Domain-specific architectures
Problems dealt one at a time, with new numbers every time. The kinds you miss come back more often, and you can keep going as long as you like.
0 solved
0 in a row
0 of 10 kinds solid
Check
A 128 × 128 array of multiply-accumulate units runs at 0.7 GHz. What's its peak rate, counting a MAC as two operations?
Check
A 128 × 128 systolic array streams 64 input vectors through one set of weights, taking cycles. What's its utilization?
Check
A layer dimension of 520 is mapped onto an array of width 128. What fraction of the tiles' width is used?
Check
An accelerator peaks at 100 TOPS with 30 GB/s of memory bandwidth. Where's its ridge point, in operations per byte?
Check
An accelerator peaks at 400 TOPS with 30 GB/s of weight bandwidth. A layer uses each 8-bit weight for a batch of 4 vectors (2 operations each). What does it attain?
Check
Weights stored as 32-bit numbers are quantized to 8 bits. By what factor does the memory traffic for weights fall?
Check
A weight-stationary systolic array is 128 × 128 at 0.7 GHz; a pass streams a batch of 512 vectors, and a layer is 1000 wide.
(a)
What is its peak?
(b)
How busy is it during a pass?
(c)
What is the layer's tiling efficiency?
Check
Peak of a 128 × 128 array at 0.9 GHz?
Check
Utilization: 64 × 64 array, batch 100?
Check
Tiling efficiency: dimension 200, width 128?
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to the lesson · Practice every topic in S4