my_digital_garden/4a1s/CP/PL - Aula 3.md

12 lines
376 B
Markdown

## Ex. 1
### a)
Spacial locality -(constant) proximity of memory spaces relative to a reference memory space
Logically following the multiplication process of matrices, C and A have spacial locality (while B does not, due to advancing in columns and not rows). Matrix C also has temporal locality.
### b)
cache size = 25600 KB
cache line/alignment= 64 B
n² misses
### c)