File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,6 @@ def set_gpu_arch(self):
2424 else :
2525 self .modules = ['cdt-cuda/21.05' ]
2626
27- if cs == 'dom' :
28- self .modules += ['cudatoolkit/11.1.0_3.39-4.1__g484e319' ]
29-
3027 elif cs in {'arola' , 'tsa' }:
3128 self .gpu_arch = '70'
3229 self .modules = ['cuda/10.1.243' ]
Original file line number Diff line number Diff line change @@ -53,8 +53,16 @@ def set_build_options(self):
5353 self .build_system .options = [
5454 f'SMS="{ self .gpu_arch } "' , f'CUDA_PATH=$CUDA_HOME'
5555 ]
56+ cs = self .current_system .name
57+ ce = self .current_environ .name
58+ if cs == 'dom' and ce == 'PrgEnv-nvidia' :
59+ cuda_ver = 'v11.3-6-g95b7cea'
60+ else :
61+ cuda_ver = 'v11.0'
62+
5663 self .prebuild_cmds = [
57- f'git checkout v11.0' , f'cd Samples/{ self .sample } '
64+ f'git checkout { cuda_ver } ' ,
65+ f'cd Samples/{ self .sample } '
5866 ]
5967
6068 @run_before ('run' )
You can’t perform that action at this time.
0 commit comments