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 CUDA platforms and devices in your PC.

Requirements

CUDA Toolkit and Drivers.

Run

Open a terminal and type:

sh run.sh

Output

A typical output should look like this one.

CUDA Device Query...
There are 1 CUDA devices.

CUDA Device #0
Major revision number:         6
Minor revision number:         1
Name:                          GeForce GTX 1060 3GB
Total global memory:           3164733440
Total shared memory per block: 49152
Total registers per block:     65536
Warp size:                     32
Maximum memory pitch:          2147483647
Maximum threads per block:     1024
Maximum dimension 0 of block:  1024
Maximum dimension 1 of block:  1024
Maximum dimension 2 of block:  64
Maximum dimension 0 of grid:   2147483647
Maximum dimension 1 of grid:   65535
Maximum dimension 2 of grid:   65535
Clock rate:                    1708500
Total constant memory:         65536
Texture alignment:             512
Concurrent copy and execution: Yes
Number of multiprocessors:     9
Kernel execution timeout:      Yes

Extra Resources