MCPcopy Create free account
hub / github.com/apache/arrow / default_cpu_memory_manager

Function default_cpu_memory_manager

cpp/src/arrow/device.cc:267–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267std::shared_ptr<MemoryManager> default_cpu_memory_manager() {
268 static auto instance =
269 CPUMemoryManager::Make(CPUDevice::Instance(), default_memory_pool());
270 return instance;
271}
272
273std::shared_ptr<Device> CPUDevice::Instance() {
274 static auto instance = std::shared_ptr<Device>(new CPUDevice());

Callers 14

MakeSharedMethod · 0.85
MakeUniqueMethod · 0.85
BufferFunction · 0.85
CopyBufferMethod · 0.85
CopyBufferSliceToCPUMethod · 0.85
memory_managerMethod · 0.85
DefaultCPUDeviceMapperFunction · 0.85
TESTFunction · 0.85
TestWithArrayFactoryMethod · 0.85

Calls 2

default_memory_poolFunction · 0.85
MakeFunction · 0.70

Tested by 4

TESTFunction · 0.68
TestWithArrayFactoryMethod · 0.68
MakeSampleCsvBufferFunction · 0.68