-
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
[ENH] [FINAL] Header structure: combine all PRs into one #1469
Merged
rapids-bot
merged 42 commits into
rapidsai:branch-23.06
from
ahendriksen:enh-header-structure-final
Apr 28, 2023
Merged
[ENH] [FINAL] Header structure: combine all PRs into one #1469
rapids-bot
merged 42 commits into
rapidsai:branch-23.06
from
ahendriksen:enh-header-structure-final
Apr 28, 2023
Conversation
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
ahendriksen
added
improvement
Improvement / enhancement to an existing function
non-breaking
Non-breaking change
Build Time Improvement
labels
Apr 27, 2023
ahendriksen
force-pushed
the
enh-header-structure-final
branch
from
April 27, 2023 12:50
777d944
to
0b3946a
Compare
divyegala
approved these changes
Apr 27, 2023
Instead of having the specializations in sub-directories, the raft_runtime source files now mimic the include/ directory hierarchy.
Used .data() instead of .data_handle()
These types are not used in the ext header, but are useful to have.
Is the rebase done correctly? CI is saying it's still 14 commits behind |
Under multiple combinations of RAFT_EXPLICIT_INSTANTIATE_ONLY and RAFT_COMPILED
Co-authored-by: Divye Gala <[email protected]>
The compute_similarity and interleaved_scan kernel are quite expensive to compile. Splitting the headers in this commit.
These two include files are likely to transitively include spdlog, which increases compilation times.
ahendriksen
force-pushed
the
enh-header-structure-final
branch
from
April 27, 2023 13:14
0b3946a
to
fd8386c
Compare
I missed a |
cjnolet
approved these changes
Apr 28, 2023
/merge |
This was referenced May 2, 2023
rapids-bot bot
pushed a commit
that referenced
this pull request
May 4, 2023
The `format` function is used by [debug and trace loggers](https://github.com/rapidsai/raft/blob/a44ca96c5cddec7ca67b510f3c21163d3958bc7e/cpp/include/raft/core/logger-macros.hpp#L44-L75). While PR #1469 has restructured the logger headers it was forgotten to expose `detail::format` in case the `RAFT_EXPLICIT_INSTANTIATE_ONLY` is defined. This PR fixes that. Authors: - Tamas Bela Feher (https://github.com/tfeher) - Corey J. Nolet (https://github.com/cjnolet) Approvers: - Allard Hendriksen (https://github.com/ahendriksen) - Corey J. Nolet (https://github.com/cjnolet) URL: #1482
rapids-bot bot
pushed a commit
that referenced
this pull request
May 4, 2023
The return type of `get_pool_memory_resource` was changed in #1469 from `pool_memory_resource` to `device_memory_resource`. There are debug logs in the code ([example](https://github.com/rapidsai/raft/blob/a44ca96c5cddec7ca67b510f3c21163d3958bc7e/cpp/include/raft/neighbors/detail/ivf_pq_build.cuh#L1328-L1329)), which query the pool size, that would fail when debug logging is enabled. This PR removes the `pool_size() ` calls, so that the code can be compiled with debug mode on. Authors: - Tamas Bela Feher (https://github.com/tfeher) - Corey J. Nolet (https://github.com/cjnolet) Approvers: - Corey J. Nolet (https://github.com/cjnolet) URL: #1484
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Build Time Improvement
ci
CMake
cpp
improvement
Improvement / enhancement to an existing function
non-breaking
Non-breaking change
python
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.
This is a rebase of all the commits in PRs:
The original PRs have not been rebased to preserve review comments. This PR is up to date with branch 23.06.
Closes #1416