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

Method ToDevice

cpp/src/arrow/c/bridge_test.cc:1448–1452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1446 }
1447
1448 static Result<std::shared_ptr<Array>> ToDevice(const std::shared_ptr<MemoryManager>& mm,
1449 const ArrayData& data) {
1450 ARROW_ASSIGN_OR_RAISE(auto result, ToDeviceData(mm, data));
1451 return MakeArray(result);
1452 }
1453
1454 template <typename ArrayFactory>
1455 static std::function<Result<std::shared_ptr<Array>>()> ToDeviceFactory(

Callers

nothing calls this directly

Calls 1

MakeArrayFunction · 0.50

Tested by

no test coverage detected