Skip to content

Commit

Permalink
Also apply hook for OSU and tensorflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Caspar van Leeuwen committed Feb 5, 2024
1 parent f5339a7 commit 39c8430
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eessi/testsuite/tests/apps/osu.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ class osu_pt_2_pt(osu_benchmark):
@run_after('init')
def run_after_init(self):
"""hooks to run after init phase"""
# Filter on which scales are supported by the partitions defined in the ReFrame configuration
hooks.filter_supported_scales(self)

hooks.filter_valid_systems_by_device_type(self, required_device_type=self.device_type)
is_cuda_module = utils.is_cuda_required_module(self.module_name)
# This part of the hook is meant to be for the OSU cpu tests. This is required since the non CUDA module should
Expand Down
3 changes: 3 additions & 0 deletions eessi/testsuite/tests/apps/tensorflow/tensorflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ def perf(self):
@run_after('init')
def run_after_init(self):
"""hooks to run after the init phase"""
# Filter on which scales are supported by the partitions defined in the ReFrame configuration
hooks.filter_supported_scales(self)

hooks.filter_valid_systems_by_device_type(self, required_device_type=self.device_type)
hooks.set_modules(self)
hooks.set_tag_scale(self)
Expand Down

0 comments on commit 39c8430

Please sign in to comment.