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
f4789844
Commit
f4789844
authored
May 30, 2023
by
Paul
Browse files
Use assert
parent
cbf378b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
src/targets/gpu/compile_ops.cpp
src/targets/gpu/compile_ops.cpp
+2
-3
No files found.
src/targets/gpu/compile_ops.cpp
View file @
f4789844
...
...
@@ -200,7 +200,7 @@ struct compile_manager
void
update_configs
()
{
if
(
not
exhaustive
)
if
(
not
exhaustive
)
return
;
par_compile
(
cps
.
size
(),
[
&
](
auto
i
)
{
cps
[
i
].
update_config
();
});
}
...
...
@@ -246,8 +246,7 @@ void compile_ops::apply(module& m) const
cm
.
compile
(
m
);
// Compile already tuned configs
cm
.
compile
(
m
);
if
(
not
cm
.
cps
.
empty
())
MIGRAPHX_THROW
(
"Untuned configs"
);
assert
(
cm
.
cps
.
empty
());
}
}
// namespace gpu
...
...
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