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.

Example (cont‘d)Want to efficiently compute vector sums likec= a+b+d;Efficiently implies Avoiding the generation of temporary objects Pumping data through the memory hierarchyseveral times. This is actually the timeconsumingpart. Moving data is moreexpensive than processing data!Prof. Craig C. DouglasUniversity of Kentucky andYale UniversityHiPC2003, 12/17/2003 vHPC <strong>Cache</strong> Aware Methods 151

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

Saved successfully!

Ooh no, something went wrong!