Skip to content

Commit

Permalink
Added increased time limit for low-core runs
Browse files Browse the repository at this point in the history
  • Loading branch information
Crivella committed Oct 10, 2024
1 parent c2c3f2a commit 6b04d53
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions eessi/testsuite/tests/apps/MetalWalls.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,14 @@ def set_tag_ci(self):
self.tags.add(TAGS['CI'])
log(f'tags set to {self.tags}')

@run_after('init')
def set_increased_walltime(self):
"""Increase the amount of time for the largest benchmark, when running with few cores."""
# List of benchmarks that require more time to run
large_benchmarks = ['hackathonGPU/benchmark2']
if self.num_tasks <= 4 and self.benchmark_info[0] in large_benchmarks:
self.time_limit = '120m'

@run_after('setup')
def run_after_setup(self):
"""Hooks to run after the setup phase"""
Expand Down

0 comments on commit 6b04d53

Please sign in to comment.