"vscode:/vscode.git/clone" did not exist on "3639b43c4f1a51d31b979a98b6b94e14c480c54a"
Commit a824f63e authored by Paul's avatar Paul
Browse files

Format

parent ebd7a6f1
...@@ -37,7 +37,8 @@ struct test_block_reduce_small : verify_program<test_block_reduce_small<N, T>> ...@@ -37,7 +37,8 @@ struct test_block_reduce_small : verify_program<test_block_reduce_small<N, T>>
auto x = mm->add_parameter("x", s); auto x = mm->add_parameter("x", s);
auto y = mm->add_parameter("x", s); auto y = mm->add_parameter("x", s);
auto r = mm->add_instruction(migraphx::make_op("reduce_mean", {{"axes", {1}}}), x); auto r = mm->add_instruction(migraphx::make_op("reduce_mean", {{"axes", {1}}}), x);
auto rb = mm->add_instruction(migraphx::make_op("multibroadcast", {{"out_lens", s.lens()}}), r); auto rb =
mm->add_instruction(migraphx::make_op("multibroadcast", {{"out_lens", s.lens()}}), r);
auto add = mm->add_instruction(migraphx::make_op("add"), rb, y); auto add = mm->add_instruction(migraphx::make_op("add"), rb, y);
mm->add_return({add}); mm->add_return({add});
return p; return p;
...@@ -45,10 +46,9 @@ struct test_block_reduce_small : verify_program<test_block_reduce_small<N, T>> ...@@ -45,10 +46,9 @@ struct test_block_reduce_small : verify_program<test_block_reduce_small<N, T>>
}; };
template <int N> template <int N>
struct test_block_reduce_small_for_size struct test_block_reduce_small_for_size : test_block_reduce_small<N, migraphx::shape::half_type>,
: test_block_reduce_small<N, migraphx::shape::half_type>, test_block_reduce_small<N, migraphx::shape::float_type>,
test_block_reduce_small<N, migraphx::shape::float_type>, test_block_reduce_small<N, migraphx::shape::int8_type>
test_block_reduce_small<N, migraphx::shape::int8_type>
{ {
}; };
...@@ -63,4 +63,3 @@ template struct test_block_reduce_small_for_size<64>; ...@@ -63,4 +63,3 @@ template struct test_block_reduce_small_for_size<64>;
template struct test_block_reduce_small_for_size<67>; template struct test_block_reduce_small_for_size<67>;
template struct test_block_reduce_small_for_size<128>; template struct test_block_reduce_small_for_size<128>;
template struct test_block_reduce_small_for_size<129>; template struct test_block_reduce_small_for_size<129>;
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