| 92 | } // namespace convolution |
| 93 | |
| 94 | TEST_F(ROCM, CONV_GROUP) { |
| 95 | megdnn::rocm::enable_miopen_algo_search(handle_rocm(), false); |
| 96 | using namespace convolution; |
| 97 | std::vector<TestArg> args = get_group_conv_args(); |
| 98 | Checker<ConvolutionForward> checker(handle_rocm()); |
| 99 | NormalRNG default_rng; |
| 100 | for (auto&& arg : args) { |
| 101 | checker.set_dtype(0, dtype::Float32()) |
| 102 | .set_dtype(1, dtype::Float32()) |
| 103 | .set_rng(0, &default_rng) |
| 104 | .set_rng(1, &default_rng) |
| 105 | .set_epsilon(1e-3) |
| 106 | .set_param(arg.param) |
| 107 | .execs({arg.src, arg.filter, {}}); |
| 108 | } |
| 109 | } |
| 110 | |
| 111 | TEST_F(ROCM, CONV_CHANNWISE) { |
| 112 | megdnn::rocm::enable_miopen_algo_search(handle_rocm(), false); |
nothing calls this directly
no test coverage detected