Strudel ja CUDA

From ATI public wiki
Jump to: navigation, search

Meie serveris strudel on installeeritud tarkvarapakett NVIDIA CUDA Tookit ver. 5.0.35 koos samplitega

server strudel sisaldab kasutamiseks kolme CUDA graafikakaarti

graafikakaartideks on Club3D GT610 1024MB PCI-E x1

graafikakaartide GPU on NVIDIA Geforce GT 610 1024MB mäluga, iga GPU sisaldab 48 CUDA coret, CUDA Compute Capability on 2.1

toolkiti ja samplite asukoht süsteemis ning muudatused mida tuleb environmenti teha et seda kasutada on nähtavad allpool olevast install-logi kokkuvõttest


Installing the CUDA Toolkit in /usr/local/cuda-5.0 ...
Installing the CUDA Samples in /usr/local/cuda-5.0/samples ...

===========
= Summary =
===========

Driver:   Not Selected
Toolkit:  Installed in /usr/local/cuda-5.0
Samples:  Installed in /usr/local/cuda-5.0/samples (pristine)

* Please make sure your PATH includes /usr/local/cuda-5.0/bin
* Please make sure your LD_LIBRARY_PATH
*   for 32-bit Linux distributions includes /usr/local/cuda-5.0/lib
*   for 64-bit Linux distributions includes /usr/local/cuda-5.0/lib64

* Installation Complete

Please see CUDA_Getting_Started_Guide_For_Linux.pdf in /usr/local/cuda-5.0/doc/pdf for detailed information on setting up CUDA.

kaasatulnud testid kompileerusid tavakasutaja all peale keskkonnamuutujate paikkasättimist kenasti ja läksid käima ka

deviceQuery rääkis järgmist:

Device 0: "GeForce GT 610"
  CUDA Driver Version / Runtime Version          5.0 / 5.0
  CUDA Capability Major/Minor version number:    2.1
  Total amount of global memory:                 1024 MBytes (1073414144 bytes)
  ( 1) Multiprocessors x ( 48) CUDA Cores/MP:    48 CUDA Cores
  GPU Clock rate:                                1620 MHz (1.62 GHz)
  Memory Clock rate:                             533 Mhz
  Memory Bus Width:                              64-bit
  L2 Cache Size:                                 65536 bytes
  Max Texture Dimension Size (x,y,z)             1D=(65536), 2D=(65536,65535), 3D=(2048,2048,2048)
  Max Layered Texture Size (dim) x layers        1D=(16384) x 2048, 2D=(16384,16384) x 2048
  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
  Maximum sizes of each dimension of a block:    1024 x 1024 x 64
  Maximum sizes of each dimension of a grid:     65535 x 65535 x 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:                     No
  Integrated GPU sharing Host Memory:            No
  Support host page-locked memory mapping:       Yes
  Alignment requirement for Surfaces:            Yes
  Device has ECC support:                        Disabled
  Device supports Unified Addressing (UVA):      Yes
  Device PCI Bus ID / PCI location ID:           26 / 0
  Compute Mode:
     < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >


katsetus tavakasutaja alt strudelis

setenv LD_LIBRARY_PATH "$LD_LIBRARY_PATH":/usr/local/cuda/lib64
setenv PATH "$PATH":/usr/local/cuda/bin

cd /var/tmp
mkdir katse

cd katse
cp -r /usr/local/cuda/samples .

cd samples
make

./bin/linux/release/simpleMultiGPU

cd 1_Utilities/deviceQuery
make
cd ../..

./bin/linux/release/deviceQuery