Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ARM-software/ComputeLibrary
/ clear
Method
clear
src/core/CL/ICLTensor.cpp:45–50 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
43
}
44
45
void ICLTensor::clear(cl::CommandQueue &q)
46
{
47
this->map(q);
48
std::memset(static_cast<void *>(_mapping), 0, this->info()->total_size());
49
this->unmap(q);
50
}
51
52
uint8_t *ICLTensor::buffer() const
53
{
Callers
8
DetectionOutputAccessor
Method · 0.45
TopNPredictionsAccessor
Method · 0.45
parse
Method · 0.45
decompose_stages
Function · 0.45
clear_programs_cache
Method · 0.45
do_setup
Method · 0.45
getSupportedImageFormats
Method · 0.45
getBuildInfo
Method · 0.45
Calls
4
map
Method · 0.95
unmap
Method · 0.95
total_size
Method · 0.45
info
Method · 0.45
Tested by
no test coverage detected