Skip to content

Commit d4874bf

Browse files
author
Vasileios Karakasis
committed
Base CSCS GPU burn test on the library version
1 parent 7ebd4a5 commit d4874bf

File tree

1 file changed

+11
-31
lines changed

1 file changed

+11
-31
lines changed

cscs-checks/microbenchmarks/gpu/gpu_burn/gpu_burn_test.py

Lines changed: 11 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -3,61 +3,41 @@
33
#
44
# SPDX-License-Identifier: BSD-3-Clause
55

6-
7-
import reframe as rfm
8-
import reframe.utility.sanity as sn
9-
import reframe.utility.osext as osext
10-
from reframe.core.exceptions import SanityError
11-
6+
import reframe as rfm # noqa: F501
127
from hpctestlib.microbenchmarks.gpu.gpu_burn import gpu_burn_check
13-
import cscstests.microbenchmarks.gpu.hooks as hooks
148

159

1610
@rfm.simple_test
17-
class cscs_gpu_burn_check(GpuBurn):
18-
use_doubles = True
11+
class cscs_gpu_burn_check(gpu_burn_check):
12+
use_dp = True
1913
duration = 40
20-
valid_systems = [
21-
'daint:gpu', 'dom:gpu', 'arolla:cn', 'tsa:cn', 'ault:amdv100',
22-
'ault:intelv100', 'ault:amda100', 'ault:amdvega'
23-
]
24-
valid_prog_environs = ['PrgEnv-gnu']
2514
exclusive_access = True
2615
reference = {
2716
'dom:gpu': {
28-
'min_perf': (4115, -0.10, None, 'Gflop/s'),
17+
'gpu_perf_min': (4115, -0.10, None, 'Gflop/s'),
2918
},
3019
'daint:gpu': {
31-
'min_perf': (4115, -0.10, None, 'Gflop/s'),
20+
'gpu_perf_min': (4115, -0.10, None, 'Gflop/s'),
3221
},
3322
'arolla:cn': {
34-
'min_perf': (5861, -0.10, None, 'Gflop/s'),
23+
'gpu_perf_min': (5861, -0.10, None, 'Gflop/s'),
3524
},
3625
'tsa:cn': {
37-
'min_perf': (5861, -0.10, None, 'Gflop/s'),
26+
'gpu_perf_min': (5861, -0.10, None, 'Gflop/s'),
3827
},
3928
'ault:amda100': {
40-
'min_perf': (15000, -0.10, None, 'Gflop/s'),
29+
'gpu_perf_min': (15000, -0.10, None, 'Gflop/s'),
4130
},
4231
'ault:amdv100': {
43-
'min_perf': (5500, -0.10, None, 'Gflop/s'),
32+
'gpu_perf_min': (5500, -0.10, None, 'Gflop/s'),
4433
},
4534
'ault:intelv100': {
46-
'min_perf': (5500, -0.10, None, 'Gflop/s'),
35+
'gpu_perf_min': (5500, -0.10, None, 'Gflop/s'),
4736
},
4837
'ault:amdvega': {
49-
'min_perf': (3450, -0.10, None, 'Gflop/s'),
38+
'gpu_perf_min': (3450, -0.10, None, 'Gflop/s'),
5039
},
5140
}
5241

5342
maintainers = ['@vkarak']
5443
tags = {'diagnostic', 'benchmark', 'craype'}
55-
56-
# Inject external hooks
57-
@run_after('setup')
58-
def set_gpu_arch(self):
59-
hooks.set_gpu_arch(self)
60-
61-
@run_before('run')
62-
def set_num_gpus_per_node(self):
63-
hooks.set_num_gpus_per_node(self)

0 commit comments

Comments
 (0)