Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] CI: Conda Compilers #3817

Open
wants to merge 7 commits into
base: development
Choose a base branch
from

Conversation

ax3l
Copy link
Member

@ax3l ax3l commented Apr 7, 2023

Add the conda compilers, since they are essential for development and packaging.

@ax3l ax3l added the component: tests Tests and CI label Apr 7, 2023
WeiqunZhang pushed a commit to AMReX-Codes/amrex that referenced this pull request Apr 7, 2023
## 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
#2878
@ax3l ax3l force-pushed the ci-conda-compilers branch 6 times, most recently from a2b8f7f to f116beb Compare April 18, 2023 08:43
@ax3l ax3l force-pushed the ci-conda-compilers branch 2 times, most recently from 565100c to 6d00c7f Compare May 2, 2023 19:58
guj pushed a commit to guj/amrex that referenced this pull request Jul 13, 2023
## 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
@RemiLehe
Copy link
Member

@ax3l Should we close this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: tests Tests and CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants