Skip to content

Conversation

@ShreyasKhandekar
Copy link
Contributor

@ShreyasKhandekar ShreyasKhandekar commented Apr 16, 2025

Ensure makeDistArray consistently creates distributed arrays and update sorting implementations to utilize the new makeDistArray.
Address build issues caused by the previous sorting method by refactoring the sorting logic into a dedicated module.

Closes #4233

Signed-off-by: Shreyas Khandekar <60454060+ShreyasKhandekar@users.noreply.github.com>
Signed-off-by: Shreyas Khandekar <60454060+ShreyasKhandekar@users.noreply.github.com>
The new implementation of makeDistArray exposed that we were using a non
distributed sort in SegStringSort.chpl and this replaces that with the
dynamicRadixSort.

That in term caused issues with the module initialzation order which
cased build failures. This factors out the dynamicTwoArrayRadixSort into
it's own small module to avoid this issue

Signed-off-by: Shreyas Khandekar <60454060+ShreyasKhandekar@users.noreply.github.com>
Signed-off-by: Shreyas Khandekar <60454060+ShreyasKhandekar@users.noreply.github.com>
@ShreyasKhandekar ShreyasKhandekar force-pushed the make-dist-array-always-dist branch from e4cec8d to 73356c2 Compare April 18, 2025 21:14
Copy link
Contributor

@ajpotts ajpotts 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 fixing this!

@ajpotts ajpotts added this pull request to the merge queue Apr 21, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Apr 21, 2025
@ajpotts ajpotts added this pull request to the merge queue Apr 22, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Apr 22, 2025
@ajpotts ajpotts added this pull request to the merge queue Apr 22, 2025
Merged via the queue into Bears-R-Us:master with commit 38dc33f Apr 22, 2025
24 checks passed
ajpotts added a commit that referenced this pull request Apr 23, 2025
@e-kayrakli e-kayrakli mentioned this pull request Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

makeDistArray can return a non-distributed array

3 participants