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

Method ToDevice

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

Source from the content-addressed store, hash-verified

5222 }
5223
5224 static Result<std::shared_ptr<Array>> ToDevice(const std::shared_ptr<MemoryManager>& mm,
5225 const ArrayData& data) {
5226 ARROW_ASSIGN_OR_RAISE(auto result, ToDeviceData(mm, data));
5227 return MakeArray(result);
5228 }
5229
5230 void Roundtrip(std::shared_ptr<RecordBatchReader>* reader,
5231 struct ArrowDeviceArrayStream* c_stream) {

Callers

nothing calls this directly

Calls 1

MakeArrayFunction · 0.50

Tested by

no test coverage detected