Skip to content

Commit c2d164c

Browse files
authored
Merge pull request #2826 from ekouts/bugfix/gpu_burn_exec_opts_hook
[testlib] Set `executable_opts` of GPU burn test in a pre-run hook
2 parents 8558818 + 5f9c239 commit c2d164c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hpctestlib/microbenchmarks/gpu/gpu_burn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ class gpu_burn_check(rfm.RunOnlyRegressionTest):
163163
valid_systems = ['+gpu']
164164
valid_prog_environs = ['+cuda', '+hip']
165165

166-
@run_after('init')
166+
@run_before('run')
167167
def set_exec_opts(self):
168168
if self.use_dp:
169169
self.executable_opts += ['-d']

0 commit comments

Comments
 (0)