-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEA] Add Cython / Python wrappers for rmm::cuda_stream_pool
#664
Comments
Thanks! Yeah checking with Peter when he's back from holiday sounds like the right approach 🙂 cc @quasiben (for vis) |
I think this is a very useful feature for Python too. I think a good initial approach is to treat it as we do for the memory pool, at |
This issue has been labeled |
@shwina is this done with the new Cython classes for owning / non-owning streams? |
@isVoid and I are still investigating stream use in Python, and working on a stream pool abstraction. In our initial work, we found it more convenient to just use a Python list of We can keep this issue open until we have an implementation finalized, but I think we can close it safely. |
Yes, but if everyone is creating their own pool of streams, that's quite a bit of streams to create which is non-free. Ideally we could all share a reasonably sized pool of streams in the future 😄 |
This issue has been labeled |
PR ( #818 ) appears relevant cc @divyegala (for awareness) |
@jakirkham my use-case only needs the cython extensions for |
Starting with Cython seems fine. Can always be extended for Python later as needed |
Should we close this with #818, or do we need more Python? |
There's no (immediate) need for a Python abstraction around a |
@shwina there's no immediate need in RAFT/cuML/cuGraph either |
Thanks! Closing this out then. |
I refrained from doing the Python for the CUDA stream pool added in #659 myself because I'm not sure what the right approach is for Python. But I think we should add a Python interface, so I'm opening this issue for discussion.
CC the usual suspects: @shwina @kkraus14 @pentschev @jakirkham
The text was updated successfully, but these errors were encountered: