15.08.2012 Views

Introduction to CUDA C

Introduction to CUDA C

Introduction to CUDA C

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Using Threads And Blocks<br />

� We’ve seen parallel vec<strong>to</strong>r addition using<br />

— Many blocks with 1 thread apiece<br />

— 1 block with many threads<br />

� Let’s adapt vec<strong>to</strong>r addition <strong>to</strong> use lots of both blocks and threads<br />

� After using threads and blocks <strong>to</strong>gether, we’ll talk about why threads<br />

� First let’s discuss data indexing…

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

Saved successfully!

Ooh no, something went wrong!