Skip to content

Optimize syncs#3

Open
acwen11 wants to merge 8 commits intodebugfrom
optimize_syncs
Open

Optimize syncs#3
acwen11 wants to merge 8 commits intodebugfrom
optimize_syncs

Conversation

@acwen11
Copy link
Copy Markdown
Collaborator

@acwen11 acwen11 commented Mar 10, 2026

These optimizations have been demonstrated to work with a 1D thin advection test and the 3D homogenous sphere test, and demonstrated to be faster than the current debug branch in the 1D test on 2 processes. Note that the new loop macro is defined in my CarpetX development branch (https://github.com/acwen11/CarpetX/blob/development/Loop/src/loop_device.hxx#L190), but it should be simple to copy it over to your nuX branch of CarpetX. This will also not work with poisoning without "cheating" by initializing gridfunctions to zero when they are written in the interior only.

@acwen11 acwen11 requested a review from jaykalinani March 10, 2026 04:12
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.

1 participant