Skip to content

Commit d69b0b0

Browse files
author
Vasileios Karakasis
committed
Make MAGMA check generic + coding style fixes
1 parent 9ebe748 commit d69b0b0

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

cscs-checks/libraries/magma/magma_checks.py

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,21 +43,25 @@ def __init__(self, subtest):
4343
self.executable_opts = ['--range 1088:3136:1024']
4444
self.perf_patterns = {
4545
'magma': sn.extractsingle(
46-
r'MAGMA GFlops: (?P<magma_gflops>\S+)',
47-
self.stdout, 'magma_gflops', float, 2
48-
),
46+
r'MAGMA GFlops: (?P<magma_gflops>\S+)',
47+
self.stdout, 'magma_gflops', float, 2
48+
),
4949
'cublas': sn.extractsingle(
5050
r'cuBLAS GFlops: (?P<cublas_gflops>\S+)', self.stdout,
5151
'cublas_gflops', float, 2)
5252
}
5353
self.reference = {
5454
'daint:gpu': {
5555
'magma': (3692.65, -0.05, None, 'Gflop/s'),
56-
'cublas': (4269.31, -0.0847, None, 'Gflop/s'),
56+
'cublas': (4269.31, -0.09, None, 'Gflop/s'),
5757
},
5858
'dom:gpu': {
5959
'magma': (3692.65, -0.05, None, 'Gflop/s'),
60-
'cublas': (4269.31, -0.0847, None, 'Gflop/s'),
60+
'cublas': (4269.31, -0.09, None, 'Gflop/s'),
61+
},
62+
'*': {
63+
'magma': (0, None, None, 'Gflop/s'),
64+
'cublas': (0, None, None, 'Gflop/s'),
6165
},
6266
}
6367
elif subtest == 'zsymmetrize':
@@ -72,6 +76,9 @@ def __init__(self, subtest):
7276
'dom:gpu': {
7377
'gpu_perf': (158.3, -0.05, None, 'GB/s'),
7478
},
79+
'*': {
80+
'gpu_perf': (0, None, None, 'GB/s'),
81+
},
7582
}
7683
elif subtest == 'ztranspose':
7784
self.perf_patterns = {
@@ -88,6 +95,9 @@ def __init__(self, subtest):
8895
'dom:gpu': {
8996
'gpu_perf': (498.2, -0.05, None, 'GB/s'),
9097
},
98+
'*': {
99+
'gpu_perf': (0, None, None, 'GB/s'),
100+
},
91101
}
92102
elif subtest == 'zunmbr':
93103
# This test fails to compile with Magma 2.4
@@ -105,4 +115,7 @@ def __init__(self, subtest):
105115
'dom:gpu': {
106116
'gpu_perf': (254.7, -0.05, None, 'Gflop/s'),
107117
},
118+
'*': {
119+
'gpu_perf': (0, None, None, 'Gflop/s'),
120+
},
108121
}

0 commit comments

Comments
 (0)