02.02.2014 Views

JUQUEEN - Prace Training Portal

JUQUEEN - Prace Training Portal

JUQUEEN - Prace Training Portal

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Thread Level Speculation<br />

• Enabling of TLS by compiler flag and pragmas<br />

-qsmp=speculative<br />

!SEP$ SPECULATIVE DO<br />

do i = 1, N<br />

call code_to_be_spec(i)<br />

enddo<br />

!SEP$ END SPECULATIVE DO<br />

!SEP$ SPECULATIVE SECTIONS<br />

call some_code()<br />

!SEP$ SPECULATIVE SECTION<br />

call other_code()<br />

!SEP$ END SPECULATIVE SECTIONS<br />

#pragma speculative for<br />

for (int i=0;i

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

Saved successfully!

Ooh no, something went wrong!