| 1278 | |
| 1279 | template <class Map, class T> |
| 1280 | MIGRAPHX_DEBUG_USED static bool |
| 1281 | is_unused_module(Map& m, const std::vector<T*>& mods, const std::string& name) |
| 1282 | { |
| 1283 | bool is_unused = false; |
| 1284 | generic_get_unused_modules(m, mods, make_function_output_iterator([&](auto* mod) { |
| 1285 | if(mod->name() == name) |
| 1286 | is_unused = true; |
| 1287 | })); |
| 1288 | return is_unused; |
| 1289 | } |
| 1290 | |
| 1291 | template <class Map> |
| 1292 | MIGRAPHX_DEBUG_USED static bool |
no test coverage detected