Introduction to CUDA C
Introduction to CUDA C
Introduction to CUDA C
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
A More Complex Example: add()<br />
� Using our add()kernel:<br />
__global__ void add( int *a, int *b, int *c ) {<br />
}<br />
*c = *a + *b;<br />
� Let’s take a look at main()…