Sixteen Times The Misses
An int A[4000][4000] (64 MB, far larger than any cache) is summed twice: once row by row, once column by column. Cache lines are 64 bytes, int is 4 bytes, and the hardware prefetcher is disabled.
How many cache misses does each traversal cost?
Sign in to answer questions and track your progress
Sign In