gmarkall opened a new pull request, #47150:
URL: https://github.com/apache/arrow/pull/47150

   ### Rationale for this change
   
   Testing with [Numba-CUDA](https://github.com/NVIDIA/numba-cuda) which uses 
the [NVIDIA CUDA Python bindings](https://github.com/NVIDIA/cuda-python) by 
default identified that PyArrow Numba interop has an incompatibility with Numba 
/ Numba-CUDA using the NVIDIA bindings. See Issue #47128.
   
   ### What changes are included in this PR?
   
   The fix is to get device pointer values from their `device_pointer_value` 
property, which is consistent across the ctypes and NVIDIA bindings in Numba.
   
   I also attempted to update the CI config to install Numba-CUDA. I think some 
of the comments in `docker-compose.yml` were a bit out of sync with changes to 
it, so I also updated comments that appeared to be relevant to reflect what I 
had to run locally. I could have got the CI changes all wrong - happy to change 
these, as they're not really the critical part of this PR.
   
   Fixes #47128.
   
   ### Are these changes tested?
   
   Yes, by the existing `test_cuda_numba_interop.py` and the CI changes in this 
PR.
   
   ### Are there any user-facing changes?
   
   No.


-- 
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]

Reply via email to