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

Method unmap

src/gpu/cl/ClTensor.cpp:55–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55StatusCode ClTensor::unmap()
56{
57 ARM_COMPUTE_ASSERT(_legacy_tensor.get() != nullptr);
58
59 if (_legacy_tensor == nullptr)
60 {
61 ARM_COMPUTE_LOG_ERROR_ACL("[ClTensor:unmap]: Backing tensor does not exist!");
62 return StatusCode::RuntimeError;
63 }
64 _legacy_tensor->unmap();
65
66 return StatusCode::Success;
67}
68
69StatusCode ClTensor::allocate()
70{

Callers 1

prepareMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected