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

Function SetMemoryManager

cpp/src/arrow/buffer.h:432–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

430 void CheckCPU() const;
431
432 void SetMemoryManager(std::shared_ptr<MemoryManager> mm) {
433 memory_manager_ = std::move(mm);
434 is_cpu_ = memory_manager_->is_cpu();
435 device_type_ = memory_manager_->device()->device_type();
436 }
437};
438
439/// \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