anjakefala opened a new issue, #43391:
URL: https://github.com/apache/arrow/issues/43391

   ### Describe the enhancement requested
   
   Right now you can't yet create a CUDA MemoryManager. An existing approach is 
to create a dummy buffer and then use that to access its memory manager to get 
that object
   
   ```
       _, buf = make_random_buffer(size=10, target='device')
       mm_cuda = buf.memory_manager
   ```
   
   One way is to add attributes to the existing Context class to get the device 
and memory manager.
   
   ### Component(s)
   
   Python


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to