-
Notifications
You must be signed in to change notification settings - Fork 197
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
Cagra memory optimizations #1790
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
4ba7510
Don't keep extra `pruned_graph` copy in optimize
benfred c5e4998
in serialize, don't take copy of dataset if not strided
benfred 5d9c959
simplify kern_prune
benfred 203667f
avoid multiple detour_count matrices when using managed memory
benfred f803deb
free intermediate graph before creating index
benfred c2eb1e3
don't take device copy of intermediate graph unless necessary
benfred eb86b1e
refactor
benfred 191e7fc
rev_graph
benfred f539655
remove accidental checkin
benfred 0e0c5f3
revert serialization change
benfred 9d13475
Merge branch 'branch-23.10' into cagra_mem
benfred 6552c66
Add TODO about using mdbuffer
benfred 3fa5829
Merge branch 'cagra_mem' of github.com:benfred/raft into cagra_mem
benfred 0c1c718
Merge branch 'branch-23.10' into cagra_mem
benfred 10b9e5a
Merge branch 'branch-23.10' into cagra_mem
cjnolet File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @wphicks this pattern seems a lot like the
mdbuffer
to me. The goal here is to make adevice_mdspan
when the pointer can be accessed from device or copy memory to device when it can't.