Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

About this example

This example shows the addition of two vectors in CUDA.

Requirements

CUDA Toolkit and proper Drivers.

Run

Open a terminal and type:

sh run.sh

Output

A typical output should look like this one.

Vector Addition with 100000 Elements
Tiempo GPU: 1.908000
Tiempo CPU: 1.076000
Checked operation!

Executed program succesfully.

Extra Resources