jorisvandenbossche opened a new issue, #41126: URL: https://github.com/apache/arrow/issues/41126
Through the C++ foundations, PyArrow already has support for representing non-CPU data (e.g. you can have a pyarrow.Table object backed by buffers in GPU memory), but this is not yet exposed very well in the Python bindings. Specifically, over the last years, several features were added on the C++ side (the `Device` and `MemoryManager` classes, more recently a set of Copy functions that take a target memory manager) that don't yet have equivalent bindings in PyArrow. - Add bindings for `Device` and `DeviceAllocationType` and expose on the `Buffer` class as `device` and `device_type` attributes - Add bindings for `MemoryManager` and expose on the `Buffer` class as `memory_manager` attribute (and add a method to create a MemoryManager for a Device) - Test Device and MemoryManager with CUDA (and integrate with existing `pyarrow.cuda` APIs?) - Add bindings for `CopyTo` on RecordBatch and Array classes -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
