139k views
4 votes
We have a 16 GB main memory and 256 MB fully-associative cache, with block size of 64 bytes. We wish to store a 6 x 6 matrix in main memory. Each matrix element is floating point number stored in IEEE single-precision format, so each element requires 8 bytes for storage. The matrix elements are stored in row major order in main memory. Show how the matrix elements for our matrix are stored in the main memory blocks.

User BaltoStar
by
4.6k points

1 Answer

1 vote

Answer:

Find attached the solution

Step-by-step explanation:

Single precision floating point number is 8B in size.

Block size is 64B .

We have a 16 GB main memory and 256 MB fully-associative cache, with block size of-example-1
We have a 16 GB main memory and 256 MB fully-associative cache, with block size of-example-2
User Rahim Dastar
by
4.4k points