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

Function SetMemoryManager

cpp/src/arrow/buffer.h:385–389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

383 void CheckCPU() const;
384
385 void SetMemoryManager(std::shared_ptr<MemoryManager> mm) {
386 memory_manager_ = std::move(mm);
387 is_cpu_ = memory_manager_->is_cpu();
388 device_type_ = memory_manager_->device()->device_type();
389 }
390};
391
392/// \defgroup buffer-slicing-functions Functions for slicing buffers

Callers 3

BufferFunction · 0.85
MyBufferMethod · 0.85
CudaBufferMethod · 0.85

Calls 2

device_typeMethod · 0.45
deviceMethod · 0.45

Tested by 1

MyBufferMethod · 0.68