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.

Common Runtime Component:<br />

Built-in Vector Types<br />

[u]char[1..4], [u]short[1..4], [u]int[1..4],<br />

[u]long[1..4], float[1..4]<br />

dim3<br />

© NVIDIA Corporation 2008<br />

Structures accessed with x, y, z, w fields:<br />

uint4 param;<br />

int y = param.y;<br />

Based on uint3<br />

Used to specify dimensions

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

Saved successfully!

Ooh no, something went wrong!