Question: How many 32-bit integers can be stored in a 16-byte cache line? In this exercise we look at memory locality properties of matrix computation. The

How many 32-bit integers can be stored in a 16-byte cache line?


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.a. b. for (I=0; I <8; I++) for (J-0; J <8000; J++) A[I] [J] B[I][0]+A[J][I]; for (J-0; J <8000; J++) for

a. b. for (I=0; I

Step by Step Solution

3.38 Rating (164 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Since a 32bit integer takes 4 bytes a 16byte cache line can store 4 32bit integers The two code sn... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Organization Design Questions!