jorisvandenbossche commented on PR #41889:
URL: https://github.com/apache/arrow/pull/41889#issuecomment-2162244151

   The reason it works for CudaBuffer is because they override the `cdef 
getitem` method that is called from `__getitem__`. So I think the better way to 
solve it is to not call `self._assert_cpu()` inside `__getitem__` but only in 
`getitem` (`__getitem__` actually also works in case of slicing for any device, 
since `slice()` works, so that is also something we should enable)
   


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