CUDA Installation

Getting Started Guide: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.0\doc\html\cuda-getting-started-guide-for-microsoft-windows\index.html

there is a lot of documentation to be found at: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.0\doc\pdf

After installing CUDA you get this directory where all samples are stored: C:\ProgramData\NVIDIA Corporation\CUDA Samples\v7.0
the bin\Win64\Debug and Release folders did not have any exe’s

Opened Samples_vs2013.sln in VS2013. Built and then ran deviceQuery:

c:\ProgramData\NVIDIA Corporation\CUDA Samples\v7.0\bin\win64\Debug>deviceQuery.exe
deviceQuery.exe Starting…

CUDA Device Query (Runtime API) version (CUDART static linking)

Detected 1 CUDA Capable device(s)

Device 0: “Quadro 600”
CUDA Driver Version / Runtime Version 7.0 / 7.0
CUDA Capability Major/Minor version number: 2.1
Total amount of global memory: 1024 MBytes (1073741824 bytes)
( 2) Multiprocessors, ( 48) CUDA Cores/MP: 96 CUDA Cores
GPU Max Clock rate: 1280 MHz (1.28 GHz)
Memory Clock rate: 800 Mhz
Memory Bus Width: 128-bit
L2 Cache Size: 131072 bytes
Maximum Texture Dimension Size (x,y,z) 1D=(65536), 2D=(65536, 65535),
3D=(2048, 2048, 2048)
Maximum Layered 1D Texture Size, (num) layers 1D=(16384), 2048 layers
Maximum Layered 2D Texture Size, (num) layers 2D=(16384, 16384), 2048 layers
Total amount of constant memory: 65536 bytes
Total amount of shared memory per block: 49152 bytes
Total number of registers available per block: 32768
Warp size: 32
Maximum number of threads per multiprocessor: 1536
Maximum number of threads per block: 1024
Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
Max dimension size of a grid size (x,y,z): (65535, 65535, 65535)
Maximum memory pitch: 2147483647 bytes
Texture alignment: 512 bytes
Concurrent copy and kernel execution: Yes with 1 copy engine(s)
Run time limit on kernels: Yes
Integrated GPU sharing Host Memory: No
Support host page-locked memory mapping: Yes
Alignment requirement for Surfaces: Yes
Device has ECC support: Disabled
CUDA Device Driver Mode (TCC or WDDM): WDDM (Windows Display Driver Mo
del)
Device supports Unified Addressing (UVA): Yes
Device PCI Domain ID / Bus ID / location ID: 0 / 3 / 0
Compute Mode:
< Default (multiple host threads can use ::cudaSetDevice() with device simu
ltaneously) >

deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 7.0, CUDA Runtime Versi
on = 7.0, NumDevs = 1, Device0 = Quadro 600
Result = PASS

Then I ran bandwidthTest.exe:

c:\ProgramData\NVIDIA Corporation\CUDA Samples\v7.0\bin\win64\Debug>bandwidthTest.exe
[CUDA Bandwidth Test] – Starting…
Running on…

Device 0: Quadro 600
Quick Mode

Host to Device Bandwidth, 1 Device(s)
PINNED Memory Transfers
Transfer Size (Bytes) Bandwidth(MB/s)
33554432 5815.0

Device to Host Bandwidth, 1 Device(s)
PINNED Memory Transfers
Transfer Size (Bytes) Bandwidth(MB/s)
33554432 6180.1

Device to Device Bandwidth, 1 Device(s)
PINNED Memory Transfers
Transfer Size (Bytes) Bandwidth(MB/s)
33554432 20180.2

Result = PASS

NOTE: The CUDA Samples are not meant for performance measurements. Results may v
ary when GPU Boost is enabled.

c:\ProgramData\NVIDIA Corporation\CUDA Samples\v7.0\bin\win64\Debug>particles.exe
CUDA Particles Simulation Starting…

NOTE: The CUDA Samples are not meant for performance measurements. Results may v
ary when GPU Boost is enabled.

grid: 64 x 64 x 64 = 262144 cells
particles: 16384

Took a while to even startup:

not

and then I got a fps of 7.5:

particles

VS Settings:

cuda_c

cuda_c_common

cuda_c_device

cuda_c_command_line

linker

Cuda_linker_general

cuda_linker_command_line

contents of C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.0\bin\nvcc.profile:
TOP = $(_HERE_)/..

NVVMIR_LIBRARY_DIR = $(TOP)/nvvm/libdevice

PATH += $(TOP)/open64/bin;$(TOP)/nvvm/bin;$(_HERE_);$(TOP)/lib;

INCLUDES += “-I$(TOP)/include” $(_SPACE_)

LIBRARIES =+ $(_SPACE_) “/LIBPATH:$(TOP)/lib/$(_WIN_PLATFORM_)”

CUDAFE_FLAGS +=
PTXAS_FLAGS +=

CUDA_PATH environment variable is set to
c:\theano\Theano>echo %CUDA_PATH%
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.0

This entry was posted in Software. Bookmark the permalink.

Leave a comment