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 fusion// Update black nodes in last grid rowfor j= 2 to n-1 by 2 dorelax(u(j,n-1))end forSolution vector u passes through thecache only once instead of twice per GSiteration!Prof. Craig C. DouglasUniversity of Kentucky andYale UniversityHiPC2003, 12/17/2003 vHPC <strong>Cache</strong> Aware Methods 101

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

Saved successfully!

Ooh no, something went wrong!