Introduction to CUDA C/C++
Introduction to CUDA C/C++
Introduction to CUDA C/C++
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Hello World! with Device Code<br />
__global__ void mykernel(void) {<br />
}<br />
int main(void) {<br />
mykernel();<br />
printf("Hello World!\n");<br />
return 0;<br />
}<br />
• Two new syntactic elements…<br />
© NVIDIA Corporation 2011