Commit f4789844 authored by Paul's avatar Paul
Browse files

Use assert

parent cbf378b5
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment