Skip to content

Commit 20cc2c7

Browse files
committed
fix comments
1 parent 718c432 commit 20cc2c7

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

cscs-checks/microbenchmarks/gpu/roofline/berkeley-ert-gpu.py

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -191,12 +191,9 @@ def check_gnuplot(self):
191191
# {{{ P100_RunErt
192192
@rfm.simple_test
193193
class P100_RunErt(RunErt_Base):
194-
ert_precision = parameter([
195-
ert_precision for ert_precision in ert_precisions])
196-
ert_flop = parameter([
197-
ert_flop for ert_flop in ert_flops])
198-
ert_gpu_threads = parameter([
199-
ert_gpu_threads for ert_gpu_threads in [int(2 ** (log(32, 2)))]])
194+
ert_precision = parameter(ert_precisions)
195+
ert_flop = parameter(ert_flops)
196+
ert_gpu_threads = parameter([int(2 ** (log(32, 2)))])
200197
# {{{ pe
201198
gpu = 'V100'
202199
descr = f'Collect ERT data from NVIDIA {gpu}'
@@ -307,12 +304,9 @@ def prepare_logs(self, P100_RunErt):
307304
# {{{ V100_RunErt
308305
@rfm.simple_test
309306
class V100_RunErt(RunErt_Base):
310-
ert_precision = parameter([
311-
ert_precision for ert_precision in ert_precisions])
312-
ert_flop = parameter([
313-
ert_flop for ert_flop in ert_flops])
314-
ert_gpu_threads = parameter([
315-
ert_gpu_threads for ert_gpu_threads in [32]])
307+
ert_precision = parameter(ert_precisions)
308+
ert_flop = parameter(ert_flops)
309+
ert_gpu_threads = parameter([32])
316310
# {{{ pe
317311
gpu = 'V100'
318312
descr = f'Collect ERT data from NVIDIA {gpu}'

0 commit comments

Comments
 (0)