| 1999 | } |
| 2000 | |
| 2001 | Result<std::shared_ptr<Array>> ImportDeviceArray(struct ArrowDeviceArray* array, |
| 2002 | std::shared_ptr<DataType> type, |
| 2003 | const DeviceMemoryMapper& mapper) { |
| 2004 | ArrayImporter importer(type); |
| 2005 | RETURN_NOT_OK(importer.Import(array, mapper)); |
| 2006 | return importer.MakeArray(); |
| 2007 | } |
| 2008 | |
| 2009 | Result<std::shared_ptr<Array>> ImportDeviceArray(struct ArrowDeviceArray* array, |
| 2010 | struct ArrowSchema* type, |