| 26 | #include "test.hpp" |
| 27 | |
| 28 | TEST_CASE(pad_calc_test_no_pad) |
| 29 | { |
| 30 | std::vector<int64_t> golden_pads{0, 0, 0, 0}; |
| 31 | std::vector<int64_t> pads{0, 0, 0, 0}; |
| 32 | // 1x1 filter size |
| 33 | migraphx::calculate_padding(0, pads, 16, 1, 1, 1); |
| 34 | migraphx::calculate_padding(1, pads, 16, 1, 1, 1); |
| 35 | EXPECT(pads == golden_pads); |
| 36 | } |
| 37 | |
| 38 | TEST_CASE(pad_calc_test_pad_by_1) |
| 39 | { |
nothing calls this directly
no test coverage detected