Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ParticleTileData: No Restrict in Storage (AMReX-Codes#3245)
## Summary Remove the `restrict` qualifier from `GpuArray` members in `ParticleTileData`. We see compilation problems with, among others Clang 14.0.6 and AppleClang, for this construct. We expect that using `restrict` (`AMREX_RESTRICT`) on APIs as well as aliased pointers in these arrays before access should be sufficient to prevent that the compiler thinks that individual arrays alias each other in hot loops. ## Additional background - WarpX build regressions since 23.03, e.g., - conda-forge/warpx-feedstock#63 - conda-forge/warpx-feedstock#64 - ECP-WarpX/WarpX#3817 - independently, about to be remove in AMReX-Codes#2878
- Loading branch information