29.01.2013 Views

Tutorial CUDA

Tutorial CUDA

Tutorial CUDA

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Reduction Example<br />

Reduce N values to a single one:<br />

© NVIDIA Corporation 2008<br />

Sum(v 0, v 1, … , v N-2, v N-1)<br />

Min(v 0, v 1, … , v N-2, v N-1)<br />

Max(v 0, v 1, … , v N-2, v N-1)<br />

Common primitive in parallel programming<br />

Easy to implement in <strong>CUDA</strong><br />

Less so to get it right<br />

Divided into 5 exercises throughout the day<br />

Each exercise illustrates one particular optimization<br />

strategy

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

Saved successfully!

Ooh no, something went wrong!