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

Method free

src/runtime/CL/CLBufferAllocator.cpp:43–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void CLBufferAllocator::free(void *ptr)
44{
45 ARM_COMPUTE_ERROR_ON(ptr == nullptr);
46 clReleaseMemObject(static_cast<cl_mem>(ptr));
47}
48
49std::unique_ptr<IMemoryRegion> CLBufferAllocator::make_region(size_t size, size_t alignment)
50{

Callers 7

prepareMethod · 0.45
prepareMethod · 0.45
prepareMethod · 0.45
prepareMethod · 0.45
prepareMethod · 0.45
prepareMethod · 0.45
prepareMethod · 0.45

Calls 1

clReleaseMemObjectFunction · 0.85

Tested by

no test coverage detected