1. How many 32-bit integers can be stored in a 16-byte cache block?
2. References to which variables exhibit temporal locality?
3. References to which variables exhibit spatial locality?
Locality is affected by both the reference order and data layout. The same computation can also be written below in Matlab, which differs from C by storing matrix elements within the same column contiguously in memory
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here