diff --git a/docs.it4i/software/nvidia-cuda.md b/docs.it4i/software/nvidia-cuda.md index 3bef7e836bf58f87ffed01d0ad338a2f86ebd823..a55c934875082e2d3ea06d43906a5baccb450063 100644 --- a/docs.it4i/software/nvidia-cuda.md +++ b/docs.it4i/software/nvidia-cuda.md @@ -1,14 +1,23 @@ # NVIDIA CUDA -Guide to NVIDIA CUDA Programming and GPU Usage. +## Introdcution + +CUDA® is a parallel computing platform and programming model developed by NVIDIA for general computing on graphical processing units (GPUs). + +## Installed Versions + +For the current list of installed versions, use: + +```console +$ ml av CUDA +``` ## CUDA Programming The default programming model for GPU accelerators is NVIDIA CUDA. To set up the environment for CUDA, use: ```console -$ ml av cuda -$ ml cuda **or** ml CUDA +$ ml CUDA ``` If the user code is hybrid and uses both CUDA and MPI, the MPI environment has to be set up as well. One way to do this is to use the `PrgEnv-gnu` module, which sets up the correct combination of the GNU compiler and MPI library: