| 57 | } |
| 58 | |
| 59 | static bool is_compiled_gpu_module(const migraphx::module& m) |
| 60 | { |
| 61 | return std::all_of(m.begin(), m.end(), [](const auto& ins) { |
| 62 | auto ins_name = ins.name(); |
| 63 | if(not migraphx::starts_with(ins_name, "@")) |
| 64 | { |
| 65 | if(not migraphx::starts_with(ins_name, "gpu::") and |
| 66 | not migraphx::starts_with(ins_name, "hip::") and |
| 67 | not migraphx::starts_with(ins_name, "check_context") and |
| 68 | not migraphx::contains(nonprefixed_ops(), ins_name) and not has_target_attr(ins)) |
| 69 | { |
| 70 | return false; |
| 71 | } |
| 72 | } |
| 73 | return true; |
| 74 | }); |
| 75 | } |
| 76 | |
| 77 | static bool is_compiled_fpga_module(const migraphx::module& m) |
| 78 | { |
no test coverage detected