12.07.2015 Views

Cache Usage Tutorial - MGNet

Cache Usage Tutorial - MGNet

Cache Usage Tutorial - MGNet

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Exposing ILPprogram nrm1real a(n)tt= 0d0do j= 1,ntt= tt + a(j) * a(j)enddoprint *,ttendprogram nrm2real a(n)tt1= 0d0tt2= 0d0do j= 1,n,2tt1= tt1 + a(j)*a(j)tt2= tt2 + a(j+1)*a(j+1)enddott= tt1 + tt2print *, ttendProf. Craig C. DouglasUniversity of Kentucky andYale UniversityHiPC2003, 12/17/2003 vHPC <strong>Cache</strong> Aware Methods 69

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

Saved successfully!

Ooh no, something went wrong!