CUDA - hello world!
The following program take the string "Hello ", send that plus the array 15, 10, 6, 0, -11, 1 to a kernel. The kernel adds the array elements to the string, which produces the array “World!”. This string is passed back to the host and printed out (collected from http://computer-graphics.se).
Get hands-on with 1400+ tech skills courses.