aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/graph/IDeviceBackend.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/graph/IDeviceBackend.h')
-rw-r--r--arm_compute/graph/IDeviceBackend.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arm_compute/graph/IDeviceBackend.h b/arm_compute/graph/IDeviceBackend.h
index fa6fbae1ea..f28cb1ab42 100644
--- a/arm_compute/graph/IDeviceBackend.h
+++ b/arm_compute/graph/IDeviceBackend.h
@@ -61,6 +61,11 @@ public:
* @return True if the backend is supported else false
*/
virtual bool is_backend_supported() = 0;
+ /** Gets a backend memory allocator
+ *
+ * @return Backend memory allocator
+ */
+ virtual IAllocator *backend_allocator() = 0;
/** Create a backend Tensor
*
* @param[in] tensor The tensor we want to create a backend tensor for