Adding parameters hook function for partition management#7192
Open
kollanur wants to merge 11 commits intoTheHPXProject:masterfrom
Open
Adding parameters hook function for partition management#7192kollanur wants to merge 11 commits intoTheHPXProject:masterfrom
kollanur wants to merge 11 commits intoTheHPXProject:masterfrom
Conversation
Signed-off-by: Bharath <bharath.kollanur@gmail.com>
Collaborator
|
Can one of the admins verify this patch? |
Up to standards ✅🟢 Issues
|
Signed-off-by: Bharath <bharath.kollanur@gmail.com>
Signed-off-by: Bharath <bharath.kollanur@gmail.com>
Signed-off-by: Bharath <bharath.kollanur@gmail.com>
Signed-off-by: Hartmut Kaiser <hartmut.kaiser@gmail.com>
Signed-off-by: Hartmut Kaiser <hartmut.kaiser@gmail.com>
Contributor
|
@kollanur inspect is not happy: |
… chunk too Signed-off-by: Bharath <bharath.kollanur@gmail.com>
hkaiser
reviewed
Apr 26, 2026
hkaiser
reviewed
Apr 26, 2026
…terator Signed-off-by: Bharath <bharath.kollanur@gmail.com>
hkaiser
reviewed
Apr 27, 2026
| /// \cond NOINTERNAL | ||
|
|
||
| /////////////////////////////////////////////////////////////////////// | ||
| enum class partition_phase : std::size_t |
Contributor
There was a problem hiding this comment.
Should we reduce the size of the enumerator values?
Suggested change
| enum class partition_phase : std::size_t | |
| enum class partition_phase : std::uint8_t |
| partition_hooks_parameters& self, Executor&&, std::size_t partition, | ||
| auto, std::size_t a, std::size_t b, auto) noexcept | ||
| { | ||
| HPX_ASSERT(partition < self.values_.size()); |
Contributor
There was a problem hiding this comment.
Suggested change
| HPX_ASSERT(partition < self.values_.size()); | |
| HPX_TEST(partition < self.values_.size()); |
?
| friend void tag_override_invoke( | ||
| hpx::execution::experimental::mark_partition_t, | ||
| partition_hooks_parameters& self, Executor&&, std::size_t partition, | ||
| auto, std::size_t a, std::size_t b, auto) noexcept |
Contributor
There was a problem hiding this comment.
Should we test that the argument really is partition_phase::begin?
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.