danepitkin opened a new pull request, #43729: URL: https://github.com/apache/arrow/pull/43729
### Rationale for this change Throw a python exception if an API isn't able to be used on non-cpu devices. ### What changes are included in this PR? * Assert the device is CPU for APIs that only support CPU ### Are these changes tested? Pytests ### Are there any user-facing changes? The user experiences Python exceptions instead of segfaults for unsupported APIs. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org