adamreeve commented on issue #49437: URL: https://github.com/apache/arrow/issues/49437#issuecomment-4130287265
I had a quick look at this. The change in #49446 partly fixes the problem, but the context returned from `pyarrow.cuda.Context.to_numba` behaves differently to the one from `numba.cuda.current_context()`. The one from `to_numba` still has a `handle` with a `value` attribute, but the one from `numba.cuda` doesn't. [This change](https://github.com/adamreeve/arrow/commit/596a0c6b3a7255ef08ed2563edecb3cf9253cec1) fixes the tests for me but I'm not very familiar with this area of the code and this feels like a workaround rather than a proper fix. I would think that the context from `to_numba` should behave like the one from `numba.cuda`. -- 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]
