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
3d0426e9
Commit
3d0426e9
authored
Apr 28, 2023
by
Paul
Browse files
Format
parent
e9702a10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tools/tune_ck.py
tools/tune_ck.py
+2
-1
No files found.
tools/tune_ck.py
View file @
3d0426e9
...
@@ -104,7 +104,8 @@ def precompile(x):
...
@@ -104,7 +104,8 @@ def precompile(x):
def
precompile_log
(
f
,
n
):
def
precompile_log
(
f
,
n
):
solutions
=
((
config
,
name
,
i
)
for
config
,
name
in
parse_log
(
f
)
for
i
in
range
(
n
))
solutions
=
((
config
,
name
,
i
)
for
config
,
name
in
parse_log
(
f
)
for
i
in
range
(
n
))
with
multiprocessing
.
Pool
(
24
)
as
p
:
with
multiprocessing
.
Pool
(
24
)
as
p
:
list
(
p
.
imap
(
precompile
,
solutions
))
list
(
p
.
imap
(
precompile
,
solutions
))
...
...
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