Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tsoc
superbenchmark
Commits
8c28b69a
Commit
8c28b69a
authored
Apr 18, 2026
by
one
Browse files
Format python code
parent
655519cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
superbench/runner/runner.py
superbench/runner/runner.py
+1
-3
No files found.
superbench/runner/runner.py
View file @
8c28b69a
...
@@ -69,9 +69,7 @@ def __validate_mpi_bind_to(self, bind_to):
...
@@ -69,9 +69,7 @@ def __validate_mpi_bind_to(self, bind_to):
"""Validate mpi bind_to option."""
"""Validate mpi bind_to option."""
valid_mpi_bind_to
=
{
'slot'
,
'hwthread'
,
'core'
,
'l1cache'
,
'l2cache'
,
'l3cache'
,
'package'
,
'numa'
,
'none'
}
valid_mpi_bind_to
=
{
'slot'
,
'hwthread'
,
'core'
,
'l1cache'
,
'l2cache'
,
'l3cache'
,
'package'
,
'numa'
,
'none'
}
if
bind_to
not
in
valid_mpi_bind_to
:
if
bind_to
not
in
valid_mpi_bind_to
:
raise
ValueError
(
raise
ValueError
(
'Invalid bind_to value {}. Must be one of: {}'
.
format
(
bind_to
,
sorted
(
valid_mpi_bind_to
)))
'Invalid bind_to value {}. Must be one of: {}'
.
format
(
bind_to
,
sorted
(
valid_mpi_bind_to
))
)
def
__validate_sb_config
(
self
):
# noqa: C901
def
__validate_sb_config
(
self
):
# noqa: C901
"""Validate SuperBench config object.
"""Validate SuperBench config object.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment