Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-4212

[Python] [CUDA] Creating a CUDA buffer from Numba device array should be easier

    XMLWordPrintableJSON

    Details

      Description

      Currently, to create a CUDA buffer from a Numba device array, you have to write:

      cuda.CudaBuffer.from_numba(device_arr.gpu_data)
      

      It would be easier if you could just write:

      cuda.CudaBuffer.from_numba(device_arr)
      

      (ideally, any object exposing the CUDA Array Interface would work)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pearu Pearu Peterson
                Reporter:
                apitrou Antoine Pitrou
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20h 10m
                  20h 10m