Skip to content

Commit f02baa1

Browse files
committed
shorter lines
1 parent 775b996 commit f02baa1

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

cscs-checks/libraries/magma/magma_checks.py

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@ def __init__(self, subtest):
4141
}
4242
elif subtest == 'zgemm':
4343
self.perf_patterns = {
44-
'magma': sn.extractsingle(r'MAGMA GFlops: (?P<magma_gflops>\S+)',
45-
self.stdout, 'magma_gflops', float, 2),
44+
'magma': sn.extractsingle(
45+
r'MAGMA GFlops: (?P<magma_gflops>\S+)',
46+
self.stdout, 'magma_gflops', float, 2
47+
),
4648
'cublas': sn.extractsingle(
4749
r'cuBLAS GFlops: (?P<cublas_gflops>\S+)', self.stdout,
4850
'cublas_gflops', float, 2)
@@ -73,8 +75,10 @@ def __init__(self, subtest):
7375
elif subtest == 'ztranspose':
7476
self.perf_patterns = {
7577
'gpu_perf':
76-
sn.extractsingle(r'GPU performance: (?P<gpu_performance>\S+)',
77-
self.stdout, 'gpu_performance', float)
78+
sn.extractsingle(
79+
r'GPU performance: (?P<gpu_performance>\S+)',
80+
self.stdout, 'gpu_performance', float
81+
)
7882
}
7983
self.reference = {
8084
'daint:gpu': {
@@ -88,8 +92,10 @@ def __init__(self, subtest):
8892
# This test fails to compile with Magma 2.4
8993
self.perf_patterns = {
9094
'gpu_perf':
91-
sn.extractsingle(r'GPU performance: (?P<gpu_performance>\S+)',
92-
self.stdout, 'gpu_performance', float)
95+
sn.extractsingle(
96+
r'GPU performance: (?P<gpu_performance>\S+)',
97+
self.stdout, 'gpu_performance', float
98+
)
9399
}
94100
self.reference = {
95101
'daint:gpu': {

0 commit comments

Comments
 (0)