You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow-up on #39979 which added _export_to_c_device/_import_from_c_device methods, but for now only for CPU devices. Expand this to support the CUDA device.
The text was updated successfully, but these errors were encountered:
…import on CUDA device (#40385)
### Rationale for this change
Follow-up on #39979 which added `_export_to_c_device`/`_import_from_c_device` methods, but for now only for CPU devices.
### What changes are included in this PR?
* Ensure `pyarrow.cuda` is imported before importing data through the C Interface, to ensure the CUDA device is registered
* Add tests for exporting/importing with the device interface on CUDA
### Are these changes tested?
Yes, added tests for CUDA.
* GitHub Issue: #40384
Authored-by: Joris Van den Bossche <[email protected]>
Signed-off-by: Joris Van den Bossche <[email protected]>
Follow-up on #39979 which added
_export_to_c_device
/_import_from_c_device
methods, but for now only for CPU devices. Expand this to support the CUDA device.The text was updated successfully, but these errors were encountered: