We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 830abc6 commit d4ebe98Copy full SHA for d4ebe98
cscs-checks/prgenv/cuda/cuda_aware_mpi.py
@@ -47,6 +47,10 @@ def set_valid_prog_environs(self):
47
def set_compilers(self):
48
if self.current_environ.name == 'PrgEnv-pgi':
49
self.build_system.cflags = ['-std=c99', ' -O3']
50
+ elif self.current_environ.name == 'PrgEnv-nvidia':
51
+ self.variables = {
52
+ 'CUDA_HOME': '/opt/nvidia/hpc_sdk/Linux_x86_64/21.3/cuda'
53
+ }
54
55
gcd_flgs = (
56
'-gencode arch=compute_{0},code=sm_{0}'.format(self.gpu_arch)
0 commit comments