diff options
Diffstat (limited to 'src/graph/Utils.cpp')
-rw-r--r-- | src/graph/Utils.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/graph/Utils.cpp b/src/graph/Utils.cpp index d89126272d..4715694f15 100644 --- a/src/graph/Utils.cpp +++ b/src/graph/Utils.cpp @@ -89,6 +89,14 @@ PassManager create_default_pass_manager(Target target) return pm; } +void release_default_graph_context(GraphContext &ctx) +{ + for(const auto &backend : backends::BackendRegistry::get().backends()) + { + backend.second->release_backend_context(ctx); + } +} + void setup_default_graph_context(GraphContext &ctx) { for(const auto &backend : backends::BackendRegistry::get().backends()) @@ -132,4 +140,4 @@ size_t get_dimension_idx(const TensorDescriptor &descriptor, const DataLayoutDim } } } // namespace graph -} // namespace arm_compute
\ No newline at end of file +} // namespace arm_compute |