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.
2 parents cca262b + 66fd09d commit 30611f0Copy full SHA for 30611f0
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': '$CRAY_NVIDIA_PREFIX/cuda'
53
+ }
54
55
gcd_flgs = (
56
'-gencode arch=compute_{0},code=sm_{0}'.format(self.gpu_arch)
0 commit comments