12.07.2015 Views

Cache Usage Tutorial - MGNet

Cache Usage Tutorial - MGNet

Cache Usage Tutorial - MGNet

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Data access optimizations:Loop blocking// Special handling: rows n-2B+1, …, n-1// Not shown here …end forResult: Data is loaded once into the cacheper B Gauss-Seidel iterations, if 2*B+2 gridrows fit in the cache simultaneouslyIf grid rows are too large, 2D blocking can beappliedProf. Craig C. DouglasUniversity of Kentucky andYale UniversityHiPC2003, 12/17/2003 vHPC <strong>Cache</strong> Aware Methods 107

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!