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

Method ToDevice

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

Source from the content-addressed store, hash-verified

5453 }
5454
5455 static Result<std::shared_ptr<Array>> ToDevice(const std::shared_ptr<MemoryManager>& mm,
5456 const ArrayData& data) {
5457 ARROW_ASSIGN_OR_RAISE(auto result, ToDeviceData(mm, data));
5458 return MakeArray(result);
5459 }
5460};
5461
5462TEST_F(TestAsyncDeviceArrayStreamRoundTrip, Simple) {

Callers

nothing calls this directly

Calls 1

MakeArrayFunction · 0.50

Tested by

no test coverage detected