|
3 | 3 | # |
4 | 4 | # SPDX-License-Identifier: BSD-3-Clause |
5 | 5 |
|
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 |
12 | 7 | from hpctestlib.microbenchmarks.gpu.gpu_burn import gpu_burn_check |
13 | | -import cscstests.microbenchmarks.gpu.hooks as hooks |
14 | 8 |
|
15 | 9 |
|
16 | 10 | @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 |
19 | 13 | 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'] |
25 | 14 | exclusive_access = True |
26 | 15 | reference = { |
27 | 16 | 'dom:gpu': { |
28 | | - 'min_perf': (4115, -0.10, None, 'Gflop/s'), |
| 17 | + 'gpu_perf_min': (4115, -0.10, None, 'Gflop/s'), |
29 | 18 | }, |
30 | 19 | 'daint:gpu': { |
31 | | - 'min_perf': (4115, -0.10, None, 'Gflop/s'), |
| 20 | + 'gpu_perf_min': (4115, -0.10, None, 'Gflop/s'), |
32 | 21 | }, |
33 | 22 | 'arolla:cn': { |
34 | | - 'min_perf': (5861, -0.10, None, 'Gflop/s'), |
| 23 | + 'gpu_perf_min': (5861, -0.10, None, 'Gflop/s'), |
35 | 24 | }, |
36 | 25 | 'tsa:cn': { |
37 | | - 'min_perf': (5861, -0.10, None, 'Gflop/s'), |
| 26 | + 'gpu_perf_min': (5861, -0.10, None, 'Gflop/s'), |
38 | 27 | }, |
39 | 28 | 'ault:amda100': { |
40 | | - 'min_perf': (15000, -0.10, None, 'Gflop/s'), |
| 29 | + 'gpu_perf_min': (15000, -0.10, None, 'Gflop/s'), |
41 | 30 | }, |
42 | 31 | 'ault:amdv100': { |
43 | | - 'min_perf': (5500, -0.10, None, 'Gflop/s'), |
| 32 | + 'gpu_perf_min': (5500, -0.10, None, 'Gflop/s'), |
44 | 33 | }, |
45 | 34 | 'ault:intelv100': { |
46 | | - 'min_perf': (5500, -0.10, None, 'Gflop/s'), |
| 35 | + 'gpu_perf_min': (5500, -0.10, None, 'Gflop/s'), |
47 | 36 | }, |
48 | 37 | 'ault:amdvega': { |
49 | | - 'min_perf': (3450, -0.10, None, 'Gflop/s'), |
| 38 | + 'gpu_perf_min': (3450, -0.10, None, 'Gflop/s'), |
50 | 39 | }, |
51 | 40 | } |
52 | 41 |
|
53 | 42 | maintainers = ['@vkarak'] |
54 | 43 | 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