| 27 | using axes_map = std::vector<std::vector<std::size_t>>; |
| 28 | |
| 29 | TEST_CASE(common_d1_less) |
| 30 | { |
| 31 | auto cd = migraphx::common_dims::compute({2, 32, 40, 8}, {2, 1280, 8}); |
| 32 | EXPECT(cd.dims == std::vector<std::size_t>{2, 32, 40, 8}); |
| 33 | EXPECT(cd.axes_map1 == axes_map{{0}, {1}, {2}, {3}}); |
| 34 | EXPECT(cd.axes_map2 == axes_map{{0}, {1, 2}, {3}}); |
| 35 | } |
| 36 | |
| 37 | static void verify_common(const migraphx::common_dims& cd) |
| 38 | { |
nothing calls this directly
no test coverage detected