CUDA: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
[http://en.wikipedia.org/wiki/CUDA CUDA] is a programming | [http://en.wikipedia.org/wiki/CUDA CUDA] is a parallel computing platform and programming model invented by NVIDIA. It enables dramatic increases in computing performance by harnessing the power of the graphics processing unit (GPU). | ||
= | ==Prerequisites== | ||
* NVIDIA GPU device | |||
* NVIDIA Driver | |||
{{Note | If you are unsure if your device is CUDA capable, feel free to contact staff@umiacs.umd.edu}} | |||
==Getting Started== | |||
# Load the CUDA Environmental variables via [[Modules | GNU Modules]] | |||
#*Multiple versions are available. See the modules documentation and <code>module list cuda</code> for more information. | |||
#: <pre> module load cuda</pre> | |||
# Obtain a copy of the cuda samples: | |||
#: <pre>rsync -a /opt/common/cuda/$CUDA Version/samples/ ~/cuda_samples</pre> | |||
# Build and run the device query | |||
#: <pre> cd ~/cuda_samples/1_Utilities/deviceQuery/ && make && ./deviceQuery</pre> | |||
Assuming the deviceQuery complication completed without error, you should now see output listing the details of the GPUs in your system. If desired you can compile additional samples by switching to their respective directory and running 'make' | |||
Revision as of 17:00, 1 February 2016
CUDA is a parallel computing platform and programming model invented by NVIDIA. It enables dramatic increases in computing performance by harnessing the power of the graphics processing unit (GPU).
Prerequisites
- NVIDIA GPU device
- NVIDIA Driver
If you are unsure if your device is CUDA capable, feel free to contact staff@umiacs.umd.edu |
Getting Started
- Load the CUDA Environmental variables via GNU Modules
- Multiple versions are available. See the modules documentation and
module list cuda
for more information.
module load cuda
- Multiple versions are available. See the modules documentation and
- Obtain a copy of the cuda samples:
rsync -a /opt/common/cuda/$CUDA Version/samples/ ~/cuda_samples
- Build and run the device query
cd ~/cuda_samples/1_Utilities/deviceQuery/ && make && ./deviceQuery
Assuming the deviceQuery complication completed without error, you should now see output listing the details of the GPUs in your system. If desired you can compile additional samples by switching to their respective directory and running 'make'