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

Create successful ePaper yourself

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

GPU strategy 3<br />

• Can use larger blocks (more compute threads) if :<br />

• For each block, start a line of threads (in i direction)<br />

• Load three lines into shared memory, then compute one line<br />

• Then load next line into shared memory, and proceed in j direction

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

Saved successfully!

Ooh no, something went wrong!