Skip to content

Commit

Permalink
Trim down tests (#3674)
Browse files Browse the repository at this point in the history
  • Loading branch information
pfultz2 authored Dec 4, 2024
1 parent 241e24e commit 7fd3357
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 496 deletions.
1 change: 0 additions & 1 deletion test/verify/test_add_mixed_layout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,5 @@ struct test_add_mixed_layout : verify_program<test_add_mixed_layout<DType>>
}
};

template struct test_add_mixed_layout<migraphx::shape::fp8e4m3fnuz_type>;
template struct test_add_mixed_layout<migraphx::shape::half_type>;
template struct test_add_mixed_layout<migraphx::shape::float_type>;
420 changes: 0 additions & 420 deletions test/verify/test_arg_ops.cpp

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions test/verify/test_logsoftmax.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,22 +52,14 @@ template struct test_logsoftmax<0, migraphx::shape::half_type>;
template struct test_logsoftmax<2, migraphx::shape::half_type>;
template struct test_logsoftmax<3, migraphx::shape::half_type>;

template struct test_logsoftmax<0, migraphx::shape::fp8e4m3fnuz_type>;
template struct test_logsoftmax<1, migraphx::shape::fp8e4m3fnuz_type>;
template struct test_logsoftmax<2, migraphx::shape::fp8e4m3fnuz_type>;
template struct test_logsoftmax<3, migraphx::shape::fp8e4m3fnuz_type>;

template struct test_logsoftmax<0, migraphx::shape::fp8e5m2fnuz_type>;
template struct test_logsoftmax<1, migraphx::shape::fp8e5m2fnuz_type>;
template struct test_logsoftmax<2, migraphx::shape::fp8e5m2fnuz_type>;
template struct test_logsoftmax<3, migraphx::shape::fp8e5m2fnuz_type>;

template struct test_logsoftmax<0, migraphx::shape::fp8e4m3fn_type>;
template struct test_logsoftmax<1, migraphx::shape::fp8e4m3fn_type>;
template struct test_logsoftmax<2, migraphx::shape::fp8e4m3fn_type>;
template struct test_logsoftmax<3, migraphx::shape::fp8e4m3fn_type>;

template struct test_logsoftmax<0, migraphx::shape::fp8e5m2_type>;
template struct test_logsoftmax<1, migraphx::shape::fp8e5m2_type>;
template struct test_logsoftmax<2, migraphx::shape::fp8e5m2_type>;
template struct test_logsoftmax<3, migraphx::shape::fp8e5m2_type>;
4 changes: 0 additions & 4 deletions test/verify/test_pad.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,3 @@ struct test_pad : verify_program<test_pad<DType>>
template struct test_pad<migraphx::shape::int32_type>;
template struct test_pad<migraphx::shape::float_type>;
template struct test_pad<migraphx::shape::half_type>;
template struct test_pad<migraphx::shape::fp8e4m3fnuz_type>;
template struct test_pad<migraphx::shape::fp8e5m2fnuz_type>;
template struct test_pad<migraphx::shape::fp8e4m3fn_type>;
template struct test_pad<migraphx::shape::fp8e5m2_type>;
4 changes: 0 additions & 4 deletions test/verify/test_prefix_scan_sum_2d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,3 @@ struct test_prefix_scan_sum_2d_large : verify_program<test_prefix_scan_sum_2d_la

template struct test_prefix_scan_sum_2d_large<migraphx::shape::float_type>;
template struct test_prefix_scan_sum_2d_large<migraphx::shape::half_type>;
template struct test_prefix_scan_sum_2d_large<migraphx::shape::fp8e4m3fnuz_type>;
template struct test_prefix_scan_sum_2d_large<migraphx::shape::fp8e5m2fnuz_type>;
template struct test_prefix_scan_sum_2d_large<migraphx::shape::fp8e4m3fn_type>;
template struct test_prefix_scan_sum_2d_large<migraphx::shape::fp8e5m2_type>;
4 changes: 0 additions & 4 deletions test/verify/test_reduce_add.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,3 @@ struct test_reduce_add : verify_program<test_reduce_add<DType>>
};

template struct test_reduce_add<migraphx::shape::float_type>;
template struct test_reduce_add<migraphx::shape::fp8e4m3fnuz_type>;
template struct test_reduce_add<migraphx::shape::fp8e5m2fnuz_type>;
template struct test_reduce_add<migraphx::shape::fp8e4m3fn_type>;
template struct test_reduce_add<migraphx::shape::fp8e5m2_type>;
4 changes: 0 additions & 4 deletions test/verify/test_reduce_mean_nhwc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,3 @@ struct test_reduce_mean_nhwc : verify_program<test_reduce_mean_nhwc<DType>>

template struct test_reduce_mean_nhwc<migraphx::shape::float_type>;
template struct test_reduce_mean_nhwc<migraphx::shape::half_type>;
template struct test_reduce_mean_nhwc<migraphx::shape::fp8e4m3fnuz_type>;
template struct test_reduce_mean_nhwc<migraphx::shape::fp8e5m2fnuz_type>;
template struct test_reduce_mean_nhwc<migraphx::shape::fp8e4m3fn_type>;
template struct test_reduce_mean_nhwc<migraphx::shape::fp8e5m2_type>;
35 changes: 0 additions & 35 deletions test/verify/test_reduce_op_large.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,48 +58,13 @@ template struct test_reduce_op_large<migraphx::op::reduce_any, 1, migraphx::shap
template struct test_reduce_op_large<migraphx::op::reduce_all, 1, migraphx::shape::bool_type>;
template struct test_reduce_op_large<migraphx::op::reduce_any, 1, migraphx::shape::bool_type>;

template struct test_reduce_op_large<migraphx::op::reduce_max,
1,
migraphx::shape::fp8e4m3fnuz_type>;
template struct test_reduce_op_large<migraphx::op::reduce_mean,
1,
migraphx::shape::fp8e4m3fnuz_type>;
template struct test_reduce_op_large<migraphx::op::reduce_min,
1,
migraphx::shape::fp8e4m3fnuz_type>;
template struct test_reduce_op_large<migraphx::op::reduce_prod,
2,
migraphx::shape::fp8e4m3fnuz_type>;
template struct test_reduce_op_large<migraphx::op::reduce_sum,
1,
migraphx::shape::fp8e4m3fnuz_type>;

template struct test_reduce_op_large<migraphx::op::reduce_max,
1,
migraphx::shape::fp8e5m2fnuz_type>;
template struct test_reduce_op_large<migraphx::op::reduce_mean,
1,
migraphx::shape::fp8e5m2fnuz_type>;
template struct test_reduce_op_large<migraphx::op::reduce_min,
1,
migraphx::shape::fp8e5m2fnuz_type>;
template struct test_reduce_op_large<migraphx::op::reduce_prod,
2,
migraphx::shape::fp8e5m2fnuz_type>;
template struct test_reduce_op_large<migraphx::op::reduce_sum,
1,
migraphx::shape::fp8e5m2fnuz_type>;

template struct test_reduce_op_large<migraphx::op::reduce_max, 1, migraphx::shape::fp8e4m3fn_type>;
template struct test_reduce_op_large<migraphx::op::reduce_mean, 1, migraphx::shape::fp8e4m3fn_type>;
template struct test_reduce_op_large<migraphx::op::reduce_min, 1, migraphx::shape::fp8e4m3fn_type>;
template struct test_reduce_op_large<migraphx::op::reduce_prod, 2, migraphx::shape::fp8e4m3fn_type>;
template struct test_reduce_op_large<migraphx::op::reduce_sum, 1, migraphx::shape::fp8e4m3fn_type>;

template struct test_reduce_op_large<migraphx::op::reduce_max, 1, migraphx::shape::fp8e5m2_type>;
template struct test_reduce_op_large<migraphx::op::reduce_mean, 1, migraphx::shape::fp8e5m2_type>;
template struct test_reduce_op_large<migraphx::op::reduce_min, 1, migraphx::shape::fp8e5m2_type>;
template struct test_reduce_op_large<migraphx::op::reduce_prod, 2, migraphx::shape::fp8e5m2_type>;
template struct test_reduce_op_large<migraphx::op::reduce_sum, 1, migraphx::shape::fp8e5m2_type>;

struct test_reduce_mean_1 : verify_program<test_reduce_mean_1>
Expand Down
4 changes: 0 additions & 4 deletions test/verify/test_roialign.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,3 @@ struct test_roialign : verify_program<test_roialign<DType>>

template struct test_roialign<migraphx::shape::float_type>;
template struct test_roialign<migraphx::shape::half_type>;
template struct test_roialign<migraphx::shape::fp8e4m3fnuz_type>;
template struct test_roialign<migraphx::shape::fp8e5m2fnuz_type>;
template struct test_roialign<migraphx::shape::fp8e4m3fn_type>;
template struct test_roialign<migraphx::shape::fp8e5m2_type>;
8 changes: 0 additions & 8 deletions test/verify/test_softmax.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,22 +50,14 @@ template struct test_softmax<1, migraphx::shape::half_type>;
template struct test_softmax<2, migraphx::shape::half_type>;
template struct test_softmax<3, migraphx::shape::half_type>;

template struct test_softmax<0, migraphx::shape::fp8e4m3fnuz_type>;
template struct test_softmax<1, migraphx::shape::fp8e4m3fnuz_type>;
template struct test_softmax<2, migraphx::shape::fp8e4m3fnuz_type>;
template struct test_softmax<3, migraphx::shape::fp8e4m3fnuz_type>;

template struct test_softmax<0, migraphx::shape::fp8e5m2fnuz_type>;
template struct test_softmax<1, migraphx::shape::fp8e5m2fnuz_type>;
template struct test_softmax<2, migraphx::shape::fp8e5m2fnuz_type>;
template struct test_softmax<3, migraphx::shape::fp8e5m2fnuz_type>;

template struct test_softmax<0, migraphx::shape::fp8e4m3fn_type>;
template struct test_softmax<1, migraphx::shape::fp8e4m3fn_type>;
template struct test_softmax<2, migraphx::shape::fp8e4m3fn_type>;
template struct test_softmax<3, migraphx::shape::fp8e4m3fn_type>;

template struct test_softmax<0, migraphx::shape::fp8e5m2_type>;
template struct test_softmax<1, migraphx::shape::fp8e5m2_type>;
template struct test_softmax<2, migraphx::shape::fp8e5m2_type>;
template struct test_softmax<3, migraphx::shape::fp8e5m2_type>;
4 changes: 0 additions & 4 deletions test/verify/test_topk_0.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,3 @@ struct test_topk_0 : verify_program<test_topk_0<DType>>

template struct test_topk_0<migraphx::shape::float_type>;
template struct test_topk_0<migraphx::shape::half_type>;
template struct test_topk_0<migraphx::shape::fp8e4m3fnuz_type>;
template struct test_topk_0<migraphx::shape::fp8e5m2fnuz_type>;
template struct test_topk_0<migraphx::shape::fp8e4m3fn_type>;
template struct test_topk_0<migraphx::shape::fp8e5m2_type>;

0 comments on commit 7fd3357

Please sign in to comment.