diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-09-18 12:04:56 +0100 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-09-27 17:20:08 +0000 |
commit | 40958adf8bad8fd9fefe591ee55a381f7bbb6fea (patch) | |
tree | c96403fb2f47908278c4d33c63fbfc856b7aa0e0 /arm_compute/runtime/ILifetimeManager.h | |
parent | bc166d5a8e350bed6b50d7315f8e8502fc9a17b1 (diff) | |
download | ComputeLibrary-40958adf8bad8fd9fefe591ee55a381f7bbb6fea.tar.gz |
COMPMID-2663: Interface to unbound mappings.
Adds an interface to ILifetimeManager to unbound a list of mappings.
Change-Id: I927fa1e0f83e6be778fd36794439f51d36dde408
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Reviewed-on: https://review.mlplatform.org/c/1988
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/runtime/ILifetimeManager.h')
-rw-r--r-- | arm_compute/runtime/ILifetimeManager.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arm_compute/runtime/ILifetimeManager.h b/arm_compute/runtime/ILifetimeManager.h index 3684ddf8fb..261882bbea 100644 --- a/arm_compute/runtime/ILifetimeManager.h +++ b/arm_compute/runtime/ILifetimeManager.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2018 ARM Limited. + * Copyright (c) 2017-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -48,6 +48,13 @@ public: * @param[in] group The group id of the group */ virtual void register_group(IMemoryGroup *group) = 0; + /** Unbound and release elements associated with a group + * + * @param[in] group Group to unbound its elements + * + * @return True if group was registered and released else false. + */ + virtual bool release_group(IMemoryGroup *group) = 0; /** Registers and starts lifetime of an object * * @param[in] obj Object to register |