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

Method do_map

src/runtime/CL/CLSubTensor.cpp:83–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83uint8_t *CLSubTensor::do_map(cl::CommandQueue &q, bool blocking)
84{
85 ARM_COMPUTE_ERROR_ON(cl_buffer().get() == nullptr);
86 if (_parent->buffer() == nullptr)
87 {
88 _parent->map(q, blocking);
89 }
90 return _parent->buffer();
91}
92
93void CLSubTensor::do_unmap(cl::CommandQueue &q)
94{

Callers

nothing calls this directly

Calls 3

getMethod · 0.45
bufferMethod · 0.45
mapMethod · 0.45

Tested by

no test coverage detected