Skip to content

Commit

Permalink
[FIX] Whitespace issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kaanolgu committed Jul 3, 2023
1 parent 53f5f1e commit 48f5084
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ outdated/

#ignore virtual environment
myvenv/
perflogs/
perflogs/
12 changes: 6 additions & 6 deletions benchmarks/apps/babelstream/babelstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,16 @@
class BabelstreamBenchmarkBase(SpackTest):
descr = 'Build BabelStream with Spack Build System'
valid_systems = ['*']
valid_prog_environs = ['default']
valid_prog_environs = ['default']
# Time limit of the job, automatically set in the job script.
time_limit = '15m'

@run_before('run')
def replace_launcher(self):
# For this benchmark we don't use MPI at all, so we always force the
# local launcher:
# <https://reframe-hpc.readthedocs.io/en/v4.1.3/tutorial_advanced.html#replacing-the-parallel-launcher>.
self.job.launcher = getlauncher('local')()

@run_after('setup')
def setup_variables(self):
# Request the GPU resources necessary to run this job.
Expand Down Expand Up @@ -98,7 +99,6 @@ def __init__(self):
'Add': (0, None, 897000, 'MBytes/sec'),
'Triad': (0, None, 897000, 'MBytes/sec'),
'Dot': (0, None, 897000, 'MBytes/sec')

},
'isambard-phase3:ampere': {
'Copy': (0, None, 1555000, 'MBytes/sec'),
Expand All @@ -107,9 +107,9 @@ def __init__(self):
'Triad': (0, None, 1555000, 'MBytes/sec'),
'Dot': (0, None, 1555000, 'MBytes/sec')
},
# Myriad has four types of GPU nodes: E, F, J and L.
# Myriad has four types of GPU nodes: E, F, J and L.
# L-type nodes each have four NVIDIA 40G A100s. (Compute Capability 80)
# F-type and E-type nodes each have two NVIDIA Tesla V100s. The CPUs are
# F-type and E-type nodes each have two NVIDIA Tesla V100s. The CPUs are
# slightly different on the different letters, see above. (Compute Capability 70)
# J-type nodes each have two NVIDIA Tesla P100s. (Compute Capability 60)
################################################
Expand Down Expand Up @@ -264,4 +264,4 @@ class SYCLBenchmark(BabelstreamBenchmarkBase):
class HIPBenchmark(BabelstreamBenchmarkBase):
valid_systems = ['+gpu']
tags = {"hip"}
executable = "hip-stream"
executable = "hip-stream"

0 comments on commit 48f5084

Please sign in to comment.