|
|
|
|
|
by assholesRppl2
4452 days ago
|
|
The best cache-aware programming lesson I ever received was in the CS61C course at Berkeley -- building a cache-blocking algorithm to run a matrix multiplication function using the cache as efficiently as possible. We unrolled loops so that the size of each iteration was exactly the size of one cache block, and saw instantly the increase in FLOpS. Then we did some OpenMP parallelization. That was cool. Nice post! |
|