Package: | cuda |
---|---|
Description: | parallel computing platform/programming model for NVIDIA GPUs |
For more information: | https://developer.nvidia.com/cuda-zone |
Categories: | |
License: | Unknown |
CUDA is a parallel computing platform and programming model designed by NVIDIA enabling one to harness the power of NVIDIA GPUs.
This module will add the nvcc and other CUDA commands to your path.
The following environmental variables have been defined:
You will probably wish to use these by adding the following flags to your compilation command (e.g. to CFLAGS in your Makefile):
This section lists the available versions of the package cudaon the different clusters.
Version | Module tags | CPU(s) optimized for | GPU ready? |
---|---|---|---|
10.2.89 | cuda/10.2.89 | zen | Y |
11.6.2 | cuda/11.6.2 | zen2 | Y |
12.3.0 | cuda/12.3.0 | icelake, x86_64, zen2 | Y |
nvcc
can compile source files with the CUDA language
extensions. It also contains CUDA implementations of BLAS and FFT libraries,
as well as some data parallel primitives. See
the Wikipedia
article on CUDA for general information, or
NVIDIA CUDA
documentation for detailed instructions.
OpenCL is a framework for writing programs to execute across CPUs and various other devices (including GPUs). See the Wikipedia article on OpenCL for more information.
|
Deepthought2 RHEL6 Users: The OpenCL support in
cuda/5.0.35 appears to be broken. Use cuda/6.5.14 or newer instead.
|
The nvcc compiler will support OpenCL as well. Your code should include the opencl.h header file, e.g.
#include <CL/opencl.h>
nvcc -lOpenCL mycode.c