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

Method make_region

src/runtime/CL/CLBufferAllocator.cpp:49–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49std::unique_ptr<IMemoryRegion> CLBufferAllocator::make_region(size_t size, size_t alignment)
50{
51 ARM_COMPUTE_UNUSED(alignment);
52 return std::make_unique<CLBufferMemoryRegion>(CL_MEM_ALLOC_HOST_PTR | CL_MEM_READ_WRITE, size);
53}
54} // namespace arm_compute

Callers 1

allocateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected