This PR updates the build system such that nanoarrow's CUDA capability can be exposed in Python (it doesn't quite expose any of the functionality yet). I'm not sure this is the best long-term strategy...I think we might be able to get CUDA plugged in at runtime because we don't use much of the API...but I think this would at least enable distributing a cuda-enabled build on conda-forge.
This PR updates the build system such that nanoarrow's CUDA capability can be exposed in Python (it doesn't quite expose any of the functionality yet). I'm not sure this is the best long-term strategy...I think we might be able to get CUDA plugged in at runtime because we don't use much of the API...but I think this would at least enable distributing a cuda-enabled build on conda-forge.
To build, one has to do something like:
On Windows, this would be something like:
Then, you should be able to resolve a CUDA device: