aboutsummaryrefslogtreecommitdiff
path: root/src/backends/cl/ClTensorHandle.hpp
diff options
context:
space:
mode:
authorMatthew Bentham <Matthew.Bentham@arm.com>2019-06-21 17:22:23 +0100
committerMatthew Bentham <matthew.bentham@arm.com>2019-07-04 09:10:46 +0000
commit7c1603a4e310c5b7b0d3bdddc0c80a63a7661107 (patch)
tree9be52766d80394d253b2b51f4ef8fd136272cf6e /src/backends/cl/ClTensorHandle.hpp
parentf9ac3fd5676565b1065698158f8d54a27f24981c (diff)
downloadarmnn-7c1603a4e310c5b7b0d3bdddc0c80a63a7661107.tar.gz
IVGCVSW-3307 Add RefMemoryManager
Simple pool memory manager for use in the reference backend, in order to make the backend usable for testing large networks. Change-Id: I5694da29052c60f95b57da595c64cc114d75b8ba Signed-off-by: Matthew Bentham <Matthew.Bentham@arm.com>
Diffstat (limited to 'src/backends/cl/ClTensorHandle.hpp')
-rw-r--r--src/backends/cl/ClTensorHandle.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backends/cl/ClTensorHandle.hpp b/src/backends/cl/ClTensorHandle.hpp
index c0773a4ea4..f09fb024e0 100644
--- a/src/backends/cl/ClTensorHandle.hpp
+++ b/src/backends/cl/ClTensorHandle.hpp
@@ -60,6 +60,7 @@ public:
const_cast<arm_compute::CLTensor*>(&m_Tensor)->map(blocking);
return static_cast<const void*>(m_Tensor.buffer() + m_Tensor.info()->offset_first_element_in_bytes());
}
+
virtual void Unmap() const override { const_cast<arm_compute::CLTensor*>(&m_Tensor)->unmap(); }
virtual ITensorHandle* GetParent() const override { return nullptr; }