Skip to content
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

Update multi-gpu discussion for device_buffer and device_vector dtors #1524

Merged
merged 2 commits into from
Apr 11, 2024

Conversation

wence-
Copy link
Contributor

@wence- wence- commented Apr 10, 2024

Description

Since #1370, the dtor for device_buffer ensures that the correct device is active when the deallocation occurs. We therefore update the example to discuss this. Since device_vector still requires the user to manage the active device correctly by hand, call this out explicitly in the documentation.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

Since rapidsai#1370, the dtor for device_buffer ensures that the correct
device is active when the deallocation occurs. We therefore update the
example to discuss this. Since device_vector still requires the user
to manage the active device correctly by hand, call this out
explicitly in the documentation.

- Closes rapidsai#1523
@wence- wence- added non-breaking Non-breaking change doc Documentation labels Apr 10, 2024
@wence- wence- requested a review from harrism April 10, 2024 11:18
Copy link
Member

@harrism harrism left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this doc fix!

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
@wence-
Copy link
Contributor Author

wence- commented Apr 11, 2024

/merge

@rapids-bot rapids-bot bot merged commit 7d7d65a into rapidsai:branch-24.06 Apr 11, 2024
52 checks passed
@wence- wence- deleted the wence/fix/1523 branch April 11, 2024 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Documentation non-breaking Non-breaking change
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[DOC] Correct active device requirements for deallocation of device_buffer, device_vector and friends
2 participants