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

Method Equals

cpp/src/arrow/device.cc:282–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280std::string CPUDevice::ToString() const { return "CPUDevice()"; }
281
282bool CPUDevice::Equals(const Device& other) const {
283 return other.type_name() == kCPUDeviceTypeName;
284}
285
286std::shared_ptr<MemoryManager> CPUDevice::memory_manager(MemoryPool* pool) {
287 if (pool == default_memory_pool()) {

Callers

nothing calls this directly

Calls 1

type_nameMethod · 0.45

Tested by

no test coverage detected