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
gaoqiong
MIGraphX
Commits
5c17b757
Commit
5c17b757
authored
Oct 09, 2022
by
Paul
Browse files
Use min
parent
694cb20a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/tune_ck.py
tools/tune_ck.py
+1
-1
No files found.
tools/tune_ck.py
View file @
5c17b757
...
@@ -47,7 +47,7 @@ def benchmark_one(config, tuning):
...
@@ -47,7 +47,7 @@ def benchmark_one(config, tuning):
def
benchmark
(
config
,
size
):
def
benchmark
(
config
,
size
):
times
=
[
benchmark_one
(
config
,
i
)
for
i
in
range
(
size
)]
times
=
[
benchmark_one
(
config
,
i
)
for
i
in
range
(
size
)]
return
times
.
index
(
m
ax
(
times
))
return
times
.
index
(
m
in
(
times
))
def
benchmark_log
(
f
):
def
benchmark_log
(
f
):
...
...
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