You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/01/20 20:29:00 UTC

[jira] [Updated] (ARROW-4212) [Python] [CUDA] Creating a CUDA buffer from Numba device array should be easier

     [ https://issues.apache.org/jira/browse/ARROW-4212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated ARROW-4212:
----------------------------------
    Labels: pull-request-available  (was: )

> [Python] [CUDA] Creating a CUDA buffer from Numba device array should be easier
> -------------------------------------------------------------------------------
>
>                 Key: ARROW-4212
>                 URL: https://issues.apache.org/jira/browse/ARROW-4212
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: GPU, Python
>    Affects Versions: 0.11.1
>            Reporter: Antoine Pitrou
>            Assignee: Pearu Peterson
>            Priority: Major
>              Labels: pull-request-available
>
> Currently, to create a CUDA buffer from a Numba device array, you have to write:
> {code:python}
> cuda.CudaBuffer.from_numba(device_arr.gpu_data)
> {code}
> It would be easier if you could just write:
> {code}
> cuda.CudaBuffer.from_numba(device_arr)
> {code}
> (ideally, any object exposing the [CUDA Array Interface|https://numba.pydata.org/numba-doc/latest/cuda/cuda_array_interface.html] would work)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)