| 1446 | } |
| 1447 | |
| 1448 | static Result<std::shared_ptr<Array>> ToDevice(const std::shared_ptr<MemoryManager>& mm, |
| 1449 | const ArrayData& data) { |
| 1450 | ARROW_ASSIGN_OR_RAISE(auto result, ToDeviceData(mm, data)); |
| 1451 | return MakeArray(result); |
| 1452 | } |
| 1453 | |
| 1454 | template <typename ArrayFactory> |
| 1455 | static std::function<Result<std::shared_ptr<Array>>()> ToDeviceFactory( |
nothing calls this directly
no test coverage detected