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

Method GetPointer

src/backends/reference/RefTensorHandle.cpp:82–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82void* RefTensorHandle::GetPointer() const
83{
84 if (m_ImportedMemory)
85 {
86 return m_ImportedMemory;
87 }
88 else if (m_UnmanagedMemory)
89 {
90 return m_UnmanagedMemory;
91 }
92 else if (m_Pool)
93 {
94 return m_MemoryManager->GetPointer(m_Pool);
95 }
96 else
97 {
98 throw NullPointerException("RefTensorHandle::GetPointer called on unmanaged, unallocated tensor handle");
99 }
100}
101
102void RefTensorHandle::CopyOutTo(void* dest) const
103{

Callers 1

Calls 1

Tested by

no test coverage detected