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

Method map

src/gpu/cl/ClTensor.cpp:41–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

prepareMethod · 0.45

Calls 2

getMethod · 0.45
bufferMethod · 0.45

Tested by

no test coverage detected