You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "anjakefala (via GitHub)" <gi...@apache.org> on 2024/07/23 21:04:37 UTC
[I] Expose methods to get the device and memory_manager on the pyarrow.cuda.Context class [arrow]
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-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Python] Expose methods to get the device and memory_manager on the pyarrow.cuda.Context class [arrow]
Posted by "jorisvandenbossche (via GitHub)" <gi...@apache.org>.
jorisvandenbossche closed issue #43391: [Python] Expose methods to get the device and memory_manager on the pyarrow.cuda.Context class
URL: https://github.com/apache/arrow/issues/43391
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Python] Expose methods to get the device and memory_manager on the pyarrow.cuda.Context class [arrow]
Posted by "jorisvandenbossche (via GitHub)" <gi...@apache.org>.
jorisvandenbossche commented on issue #43391:
URL: https://github.com/apache/arrow/issues/43391#issuecomment-2257890339
Issue resolved by pull request 43392
https://github.com/apache/arrow/pull/43392
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org