28.11.2014 Views

Lecture 2 – Threads - many-core.group

Lecture 2 – Threads - many-core.group

Lecture 2 – Threads - many-core.group

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.

GPU strategy 1<br />

• Start a thread for each point in the domain<br />

• Use 2D thread blocks and a 2D grid<br />

• Read all Temperatures from global device memory<br />

• Write updated Temperature back to global device memory

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

Saved successfully!

Ooh no, something went wrong!