06.08.2012 Views

Getting Started with CUDA

Getting Started with CUDA

Getting Started with 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.

Execution Configuration Examples<br />

dim3 grid, block;<br />

grid.x = 2; grid.y = 4;<br />

block.x = 8; block.y = 16;<br />

kernel(...);<br />

dim3 grid(2, 4), block(8,16);<br />

kernel(...);<br />

kernel(...);<br />

Equivalent assignment using<br />

constructor functions<br />

© 2008 NVIDIA Corporation.

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

Saved successfully!

Ooh no, something went wrong!