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

Method acquire

src/runtime/BlobMemoryPool.cpp:47–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47void BlobMemoryPool::acquire(MemoryMappings &handles)
48{
49 // Set memory to handlers
50 for (auto &handle : handles)
51 {
52 ARM_COMPUTE_ERROR_ON(handle.first == nullptr);
53 handle.first->set_region(_blobs[handle.second].get());
54 }
55}
56
57void BlobMemoryPool::release(MemoryMappings &handles)
58{

Callers 6

runMethod · 0.45
call_all_tasksFunction · 0.45
runMethod · 0.45
run_targetMethod · 0.45
runMethod · 0.45
do_runMethod · 0.45

Calls 2

set_regionMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected