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

Function DefaultCPUDeviceMapper

cpp/src/arrow/device.cc:329–331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327};
328
329Result<std::shared_ptr<MemoryManager>> DefaultCPUDeviceMapper(int64_t device_id) {
330 return default_cpu_memory_manager();
331}
332
333static std::unique_ptr<DeviceMapperRegistryImpl> CreateDeviceRegistry() {
334 auto registry = std::make_unique<DeviceMapperRegistryImpl>();

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected