| 30 | #include <cstdio> |
| 31 | |
| 32 | static migraphx::program create_program() |
| 33 | { |
| 34 | migraphx::program p; |
| 35 | auto* mm = p.get_main_module(); |
| 36 | |
| 37 | auto x = mm->add_parameter("x", {migraphx::shape::int32_type}); |
| 38 | auto two = mm->add_literal(2); |
| 39 | auto add = mm->add_instruction(migraphx::make_op("add"), x, two); |
| 40 | mm->add_return({add}); |
| 41 | return p; |
| 42 | } |
| 43 | |
| 44 | TEST_CASE(as_value) |
| 45 | { |
no test coverage detected