Skip to content

#31: implement global mapping - #32

Merged
lifflander merged 2 commits into
masterfrom
31-get-new-mapping-globally-after-lb
Jan 19, 2026
Merged

#31: implement global mapping#32
lifflander merged 2 commits into
masterfrom
31-get-new-mapping-globally-after-lb

Conversation

@lifflander

Copy link
Copy Markdown
Contributor

Fixes #31

@lifflander lifflander linked an issue Jan 7, 2026 that may be closed by this pull request
@lifflander lifflander changed the title #31: mpi: implement a simple allgather #31: implement global mapping Jan 7, 2026
@lifflander
lifflander force-pushed the 31-get-new-mapping-globally-after-lb branch from 8b02d39 to 75fe5ae Compare January 14, 2026 00:41
@lifflander
lifflander changed the base branch from master to 4-add-broadcast-interface January 14, 2026 00:41
@lifflander
lifflander force-pushed the 31-get-new-mapping-globally-after-lb branch from 75fe5ae to ac9384d Compare January 14, 2026 19:07
@lifflander
lifflander changed the base branch from 4-add-broadcast-interface to master January 14, 2026 19:16
@lifflander
lifflander marked this pull request as ready for review January 14, 2026 19:16
@lifflander
lifflander force-pushed the 31-get-new-mapping-globally-after-lb branch from 99517ed to cd6eb4c Compare January 15, 2026 15:17

@cwschilly cwschilly left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. One suggestion on limiting duplicated code

Comment on lines +276 to +277
collective_ctx_->out_ptr = static_cast<void*>(&out);
collective_ctx_->done.store(false);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We could move these steps into a small private method since they'll be called by every collective call needing to clear the context

@lifflander
lifflander force-pushed the 31-get-new-mapping-globally-after-lb branch from cd6eb4c to 1242653 Compare January 19, 2026 21:01
@lifflander
lifflander merged commit c87b25d into master Jan 19, 2026
19 checks passed
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.

Get new mapping globally after LB

2 participants