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

Method map

src/cpu/CpuTensor.cpp:39–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void *CpuTensor::map()
40{
41 ARM_COMPUTE_ASSERT(_legacy_tensor.get() != nullptr);
42
43 if (_legacy_tensor == nullptr)
44 {
45 ARM_COMPUTE_LOG_ERROR_ACL("[CpuTensor:map]: Backing tensor does not exist!");
46 return nullptr;
47 }
48 return _legacy_tensor->buffer();
49}
50
51StatusCode CpuTensor::allocate()
52{

Callers 13

mapFunction · 0.45
AclMapTensorFunction · 0.45
setupMethod · 0.45
setupMethod · 0.45
setupMethod · 0.45
TEST_CASEFunction · 0.45
fill_tensorFunction · 0.45
CLAccessorMethod · 0.45
CLArrayAccessorMethod · 0.45
validate_resultMethod · 0.45

Calls 2

getMethod · 0.45
bufferMethod · 0.45

Tested by

no test coverage detected