| 107 | } |
| 108 | |
| 109 | void release_default_graph_context(GraphContext &ctx) |
| 110 | { |
| 111 | for (const auto &backend : backends::BackendRegistry::get().backends()) |
| 112 | { |
| 113 | if (backend.second->is_backend_supported()) |
| 114 | { |
| 115 | backend.second->release_backend_context(ctx); |
| 116 | } |
| 117 | } |
| 118 | } |
| 119 | |
| 120 | void sync_backends() |
| 121 | { |
no test coverage detected