| 261 | |
| 262 | template <class T> |
| 263 | static std::vector<migraphx::instruction_ref> |
| 264 | chain(migraphx::module& m, std::size_t n, T x, migraphx::instruction_ref input) |
| 265 | { |
| 266 | std::vector<migraphx::instruction_ref> result; |
| 267 | for(std::size_t i = 0; i < n; i++) |
| 268 | { |
| 269 | result.push_back(m.add_instruction(x, input)); |
| 270 | input = result.back(); |
| 271 | } |
| 272 | return result; |
| 273 | } |
| 274 | TEST_CASE(single_entry) |
| 275 | { |
| 276 | scheduler t{}; |
no test coverage detected