Commit ccf51257 authored by Paul's avatar Paul
Browse files

Tidy fixes

parent e616b476
...@@ -48,7 +48,7 @@ struct id_ctx_final_op ...@@ -48,7 +48,7 @@ struct id_ctx_final_op
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&, const std::vector<migraphx::shape>&) {}
migraphx::shape compute_shape(std::vector<migraphx::shape> inputs) const migraphx::shape compute_shape(std::vector<migraphx::shape> inputs) const
{ {
...@@ -270,6 +270,8 @@ TEST_CASE(double_reverse_target_test) ...@@ -270,6 +270,8 @@ TEST_CASE(double_reverse_target_test)
EXPECT(result != migraphx::literal{4}); EXPECT(result != migraphx::literal{4});
} }
// Check that the program doesnt modify the context directly, and only the operators modify the context
TEST_CASE(eval_context1) TEST_CASE(eval_context1)
{ {
migraphx::program p; migraphx::program p;
......
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