MIOpen doesn't support serializing fusion plans with Find-2.0 APIs
| 64 | |
| 65 | // MIOpen doesn't support serializing fusion plans with Find-2.0 APIs |
| 66 | static void print_miopen_warning(const program& p) |
| 67 | { |
| 68 | auto mods = p.get_modules(); |
| 69 | if(std::any_of(mods.begin(), mods.end(), [](const auto* m) { |
| 70 | return std::any_of(m->begin(), m->end(), [](const instruction& i) { |
| 71 | return i.name() == "gpu::miopen_fusion"; |
| 72 | }); |
| 73 | })) |
| 74 | { |
| 75 | std::cerr << "[WARNING]: Program has miopen_fusion instructions for which tuned solutions " |
| 76 | "are not stored inside serialized MIGraphX program. Consider serializing with " |
| 77 | "MIGRAPHX_DISABLE_MIOPEN_FUSION=1 flag set." |
| 78 | << std::endl; |
| 79 | ; |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | std::vector<char> save_buffer(const program& p, const file_options& options) |
| 84 | { |
no test coverage detected