| 111 | } |
| 112 | |
| 113 | static bool is_compiled_ref_module(const migraphx::module& m) |
| 114 | { |
| 115 | return std::all_of(m.begin(), m.end(), [](const auto& ins) { |
| 116 | auto ins_name = ins.name(); |
| 117 | if(not migraphx::starts_with(ins_name, "@")) |
| 118 | { |
| 119 | if((not migraphx::starts_with(ins_name, "ref::") and |
| 120 | not migraphx::starts_with(ins_name, "check_context") and |
| 121 | not has_target_attr(ins)) and |
| 122 | not migraphx::contains(nonprefixed_ops(), ins_name)) |
| 123 | { |
| 124 | return false; |
| 125 | } |
| 126 | } |
| 127 | return true; |
| 128 | }); |
| 129 | } |
| 130 | |
| 131 | // NOLINT |
| 132 | static bool check_compiled_program(const migraphx::program& p, |
no test coverage detected