MCPcopy Create free account
hub / github.com/ARM-software/armnn / Map

Method Map

src/backends/cl/ClTensorHandle.hpp:263–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261 virtual void Manage() override {}
262
263 virtual const void* Map(bool blocking = true) const override
264 {
265 const_cast<arm_compute::CLSubTensor*>(&m_Tensor)->map(blocking);
266 return static_cast<const void*>(m_Tensor.buffer() + m_Tensor.info()->offset_first_element_in_bytes());
267 }
268 virtual void Unmap() const override { const_cast<arm_compute::CLSubTensor*>(&m_Tensor)->unmap(); }
269
270 virtual ITensorHandle* GetParent() const override { return parentHandle; }

Callers 1

CopyInFromMethod · 0.95

Calls 3

mapMethod · 0.45
bufferMethod · 0.45
infoMethod · 0.45

Tested by

no test coverage detected