1 Matching Annotations
- Apr 2022
-
www.cs.sfu.ca www.cs.sfu.ca
-
Repeated references to local variables are good because the compiler cancache them in the register file (temporal locality).. Stride-1 reference patterns are good because caches at all levels of the memoryhierarchy store data as contiguous blocks (spatial locality).
重复使用 local variable 以及 stride-1 pattern 为什么是 cache-friendly 的?
-