-
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] Python bindings for rmm::mr::pinned_host_memory_resource
#1429
Comments
Hi, I would like to work on this issue. But I don't fully understand how to solve this. I am going through the cython documentation. I have also located the files I need to change - https://github.com/rapidsai/rmm/blob/branch-24.02/python/rmm/_lib/memory_resource.pyx Would you mind sharing the steps to take to do so?
|
@willtryagain that sounds about right! Thanks and we look forward to your contribution. Please make sure you also look at the RAPIDS contributing docs. Also this page is useful for dates; we are just starting 24.04 so make sure you target |
Something looks very strange with your environment from that error message. What did you do to set up the development environment for RMM? |
Hello @wence- , I have followed the README instructions
Thanks. |
OK, thanks. I have a CTK 12.3 install here, so maybe I can reproduce. |
Hmm, I could not reproduce, I did (I used mamba not conda, but everything else is the same). On ce3af2c:
Without any issues. Can you show the output (in the activated An alternative to trying to get the development environment set up manually is (easiest if you use vscode, but possible without) to use the devcontainer setup we have in the repository (needs some setup in advance setting up the nvidia container toolkit locally, https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html). |
Hmm, that is identical to mine, so I am somewhat at a loss as to what broke |
Highly recommend using dev containers to avoid problems. |
Hi guys, Also, for including the cpp class is this correct
Thanks |
This is probably a bit harder than I originally thought, because pinned_host_memory_resource is not a On further thought perhaps this is not a good first issue, so I'm removing that label. Still up to you if you want to try @willtryagain, but for me to explain it I might have to figure out how to write the code. :) |
Ok @harrism |
As with the extern But there is a problem. Unlike all the other MRs in RMM Python, HostPinnedMemoryResource is not a DeviceMemoryResource. So we need to rethink our inheritance. |
Is your feature request related to a problem? Please describe.
Add Python bindings for
pinned_host_memory_resource
added in #1392 .The text was updated successfully, but these errors were encountered: