Commit 0e64d364 authored by Paul's avatar Paul
Browse files

Format

parent a86f411b
......@@ -76,7 +76,8 @@ auto query_miopen_db(const std::string& query)
std::string get_mlir_perf_for_conv(const problem_params& pp)
{
std::string query = "select * from perf_db where config=${config}";
auto results = query_miopen_db(interpolate_string(query, {{"config", generate_miopen_config(pp)}}));
auto results =
query_miopen_db(interpolate_string(query, {{"config", generate_miopen_config(pp)}}));
if(results.empty())
return "";
return results.front().at("params");
......
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