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

Method ToDevice

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

Source from the content-addressed store, hash-verified

4338 }
4339
4340 static Result<std::shared_ptr<Array>> ToDevice(const std::shared_ptr<MemoryManager>& mm,
4341 const ArrayData& data) {
4342 ARROW_ASSIGN_OR_RAISE(auto result, ToDeviceData(mm, data));
4343 return MakeArray(result);
4344 }
4345
4346 static ArrayFactory ToDeviceFactory(const std::shared_ptr<MemoryManager>& mm,
4347 ArrayFactory&& factory) {

Callers

nothing calls this directly

Calls 1

MakeArrayFunction · 0.50

Tested by

no test coverage detected