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