easybuild.toolchains.compiler.cuda module

Support for CUDA compilers as toolchain (co-)compiler.

author:Kenneth Hoste (Ghent University)
class easybuild.toolchains.compiler.cuda.Cuda(*args, **kwargs)

Bases: easybuild.tools.toolchain.compiler.Compiler

CUDA compiler class.

COMPILER_CUDA_CC = 'nvcc'
COMPILER_CUDA_CXX = 'nvcc'
COMPILER_CUDA_FAMILY = 'CUDA'
COMPILER_CUDA_MODULE_NAME = ['CUDA']
COMPILER_CUDA_UNIQUE_OPTION_MAP = {'_opt_CUDA_CC': 'ccbin="%(CXX_base)s"', '_opt_CUDA_CXX': 'ccbin="%(CXX_base)s"'}
COMPILER_CUDA_UNIQUE_OPTS = {'cuda_gencode': ([], "List of arguments for nvcc -gencode command line option, e.g., ['arch=compute_20,code=sm_20', 'arch=compute_35,code=compute_35']")}
LIB_CUDA_RUNTIME = ['rt', 'cudart']