| 75 | } |
| 76 | |
| 77 | static bool is_compiled_fpga_module(const migraphx::module& m) |
| 78 | { |
| 79 | return std::all_of(m.begin(), m.end(), [](const auto& ins) { |
| 80 | auto ins_name = ins.name(); |
| 81 | if(not migraphx::starts_with(ins_name, "@")) |
| 82 | { |
| 83 | if(not migraphx::starts_with(ins_name, "fpga::") and |
| 84 | not migraphx::starts_with(ins_name, "check_context") and |
| 85 | not migraphx::contains(nonprefixed_ops(), ins_name) and not has_target_attr(ins)) |
| 86 | { |
| 87 | return false; |
| 88 | } |
| 89 | } |
| 90 | return true; |
| 91 | }); |
| 92 | } |
| 93 | |
| 94 | static bool is_compiled_cpu_module(const migraphx::module& m) |
| 95 | { |
no test coverage detected