| 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) { |
nothing calls this directly
no test coverage detected