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