"vscode:/vscode.git/clone" did not exist on "6a677ac8bfa2fd97f6d30a1ec0308ded98ba8020"
Commit e616b476 authored by Paul's avatar Paul
Browse files

Formatting

parent 2ac066ef
...@@ -41,16 +41,14 @@ struct id_ctx_op ...@@ -41,16 +41,14 @@ struct id_ctx_op
struct id_ctx_final_op struct id_ctx_final_op
{ {
std::string name() const { return "id_ctx_final_op"; } std::string name() const { return "id_ctx_final_op"; }
migraphx::argument migraphx::argument compute(const migraphx::shape&, std::vector<migraphx::argument> args) const
compute(const migraphx::shape&, std::vector<migraphx::argument> args) const
{ {
if(args.empty()) if(args.empty())
return {}; return {};
return args.front(); return args.front();
} }
void finalize(id_target::context&, const migraphx::shape&, std::vector<migraphx::shape>) void finalize(id_target::context&, const migraphx::shape&, std::vector<migraphx::shape>) {}
{}
migraphx::shape compute_shape(std::vector<migraphx::shape> inputs) const migraphx::shape compute_shape(std::vector<migraphx::shape> inputs) const
{ {
......
...@@ -226,7 +226,7 @@ inline void run(int argc, const char* argv[]) ...@@ -226,7 +226,7 @@ inline void run(int argc, const char* argv[])
for(auto&& name : cases) for(auto&& name : cases)
{ {
auto f = m.find(name); auto f = m.find(name);
if (f == m.end()) if(f == m.end())
std::cout << "[ ERROR ] Test case '" << name << "' not found." << std::endl; std::cout << "[ ERROR ] Test case '" << name << "' not found." << std::endl;
else else
run_test_case(name, f->second); run_test_case(name, f->second);
......
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