Skip to content

Nosync broadly#4957

Merged
WeiqunZhang merged 15 commits intoAMReX-Codes:developmentfrom
ax3l:nosync-broadly
Mar 2, 2026
Merged

Nosync broadly#4957
WeiqunZhang merged 15 commits intoAMReX-Codes:developmentfrom
ax3l:nosync-broadly

Conversation

@ax3l
Copy link
Copy Markdown
Member

@ax3l ax3l commented Feb 19, 2026

Summary

Follow-up to #4955 as discussed

  • vibe code
  • vibe review
  • coarse manual review (1)
  • vibe fix lifetimes by example
  • manual self-review (2)
  • run HPSF GPU CI
  • peer review

cc @bathmatt @roelof-groenewald

Additional background

Checklist

The proposed changes:

  • fix a bug or incorrect behavior in AMReX
  • add new capabilities to AMReX
  • changes answers in the test suite to more than roundoff level
  • are likely to significantly affect the results of downstream AMReX users
  • include documentation in the code and/or rst files, if appropriate

@ax3l
Copy link
Copy Markdown
Member Author

ax3l commented Feb 19, 2026

/run-hpsf-gitlab-ci

@github-actions
Copy link
Copy Markdown

@ax3l
Copy link
Copy Markdown
Member Author

ax3l commented Feb 19, 2026

Took a manual review and it missed a lot of lifetime dependencies. Oh well. Let's see if the examples added now in comments help it to convert. I'll feed it via gh pr view 4957 --comments and go to lunch

@amrex-gitlab-ci-reporter
Copy link
Copy Markdown

GitLab CI 1436197 finished with status: failed. See details at https://gitlab.spack.io/amrex/amrex/-/pipelines/1436197.

@ax3l
Copy link
Copy Markdown
Member Author

ax3l commented Feb 20, 2026

/run-hpsf-gitlab-ci

@github-actions
Copy link
Copy Markdown

@ax3l
Copy link
Copy Markdown
Member Author

ax3l commented Feb 20, 2026

@WeiqunZhang when the async arena runs out of memory and starts to drop oldest handled memory, does it first run a GPU stream sync to ensure correctness?

@amrex-gitlab-ci-reporter
Copy link
Copy Markdown

GitLab CI 1436835 finished with status: success. See details at https://gitlab.spack.io/amrex/amrex/-/pipelines/1436835.

@AlexanderSinn
Copy link
Copy Markdown
Member

Yes the async arena does a stream sync if there are too many freed allocations in it.

@ax3l
Copy link
Copy Markdown
Member Author

ax3l commented Feb 20, 2026

/run-hpsf-gitlab-ci

@github-actions
Copy link
Copy Markdown

@amrex-gitlab-ci-reporter
Copy link
Copy Markdown

GitLab CI 1436879 finished with status: success. See details at https://gitlab.spack.io/amrex/amrex/-/pipelines/1436879.

@ax3l
Copy link
Copy Markdown
Member Author

ax3l commented Feb 20, 2026

GitHub runners have some unrelated issues rn in fetching apt dependencies

@ax3l ax3l changed the title [WIP] Nosync broadly Nosync broadly Feb 20, 2026
@ax3l ax3l requested a review from AlexanderSinn February 20, 2026 18:48
@ax3l
Copy link
Copy Markdown
Member Author

ax3l commented Feb 20, 2026

besides flaky (CPU) CI runners, all tests pass now. I finished my self-review.

I am pretty sure our GPU test coverage is not very strong, so a good review is welcome 🙏
cc @AlexanderSinn @WeiqunZhang 🙏

@WeiqunZhang WeiqunZhang merged commit d7e43a5 into AMReX-Codes:development Mar 2, 2026
74 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants