MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / lock

Method lock

src/runtime/TensorAllocator.cpp:180–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180uint8_t *TensorAllocator::lock()
181{
182 ARM_COMPUTE_ERROR_ON(_memory.region() == nullptr);
183 return reinterpret_cast<uint8_t *>(_memory.region()->buffer());
184}
185
186void TensorAllocator::unlock()
187{

Callers 1

get_lut_tableMethod · 0.45

Calls 2

regionMethod · 0.45
bufferMethod · 0.45

Tested by

no test coverage detected