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.

Eliminating overheads:if statementsif statements … Prohibit some optimizations(e.g., loop unrolling in some cases) Evaluating the condition expression takes time CPU pipeline may be interrupted (dynamic jump prediction)Goal: avoid if statements in the innermost loopsNo generally applicable technique exists Prof. Craig C. DouglasUniversity of Kentucky andYale UniversityHiPC2003, 12/17/2003 vHPC <strong>Cache</strong> Aware Methods 76

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

Saved successfully!

Ooh no, something went wrong!