Complete the following exercises found in the text in Chapter 5.
Because this interactive by Book version may have been re-ordered and hence sections renumbered, section numbers below labeled with COD refer to the original hard copy book’s section numbers. Show your work.
5.1 In this exercise we look at memory locality properties of matrix computation. The following code is written in C, where elements within the same row are stored contiguously. Assume each word is a 32-bit integer.
for (I = 0; I < 8; I++)
for (J = 0; J < 8000; J++)
A[I][J] = B[I][0] + A[J][I];
5.1.1 [5] How many 32-bit integers can be stored in a 16-byte cache block?
5.1.2 [5]