I am just started learning cuda. I need simple examples to understand programs. Could you give give me simple programs like incrementing an array or square first n numbers or find the sum of first n numbers
So that i could understand how to write .cu .cpp files I saw the programs in sdk they were hard to understand.
also i need instructions how to execute it on linux
Please help i am desperate to learn cuda, your reply is very valuable to me. thanks for your time