| 93 | } |
| 94 | |
| 95 | static std::vector<argument> run_ref(program p, |
| 96 | const compile_options& options, |
| 97 | const verify_options& vo, |
| 98 | const parameter_map& inputs) |
| 99 | { |
| 100 | if(vo.ref_use_double) |
| 101 | { |
| 102 | run_passes( |
| 103 | p, {fp_to_double{}, simplify_qdq{.remove_qdq_only = true}, dead_code_elimination{}}); |
| 104 | } |
| 105 | p.compile(migraphx::make_target("ref"), options); |
| 106 | auto out = p.eval(inputs); |
| 107 | std::cout << p << std::endl; |
| 108 | return out; |
| 109 | } |
| 110 | |
| 111 | static std::vector<argument> run_target(program p, |
| 112 | const target& t, |
no test coverage detected