CUDA: Difference between revisions
Jump to navigation
Jump to search
(→RHEL) |
No edit summary |
||
(14 intermediate revisions by 4 users not shown) | |||
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, please [[HelpDesk |contact staff]].}} | |||
==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' | |||
Latest revision as of 20:39, 26 February 2024
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, please contact staff. |
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'