Skip to content

Align capacity to 256 bytes in ParticleTileRT#5335

Open
AlexanderSinn wants to merge 1 commit intoAMReX-Codes:developmentfrom
AlexanderSinn:Align_capacity_to_256_bytes_in_ParticleTileRT
Open

Align capacity to 256 bytes in ParticleTileRT#5335
AlexanderSinn wants to merge 1 commit intoAMReX-Codes:developmentfrom
AlexanderSinn:Align_capacity_to_256_bytes_in_ParticleTileRT

Conversation

@AlexanderSinn
Copy link
Copy Markdown
Member

Summary

This PR makes sure that all components of the 2D particle array in ParticleTileRT are aligned to the memory alignment used by amrex::Arena (256 bytes). This is achieved by rounding the capacity up to a multiple of 64 particles.

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

@AlexanderSinn AlexanderSinn requested a review from atmyers April 16, 2026 08:20
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