This example shows the multiplication of two vectors in CUDA.
CUDA Toolkit and proper Drivers.
Open a terminal and type:
sh run.sh
A typical output should look like this one.
Vector Multiplication with 100000 Elements
Tiempo GPU: 1.863000
Tiempo CPU: 1.060000
Checked operation!
Executed program succesfully.