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

CMake: 3.20+ #3196

Merged
merged 1 commit into from
Jul 14, 2022
Merged

CMake: 3.20+ #3196

merged 1 commit into from
Jul 14, 2022

Conversation

ax3l
Copy link
Member

@ax3l ax3l commented Jun 23, 2022

We already use this version in ImpactX. The main reason is a severe simplification of CMake CUDA search logic that we can rely on.

X-Ref.:
https://github.com/AMReX-Codes/amrex/blob/2d931f63cb4d611d0d23d694726889647f8a482d/Tools/CMake/AMReXParallelBackends.cmake#L55

@ax3l ax3l added the install label Jun 23, 2022
@ax3l ax3l requested review from atmyers and EZoni June 23, 2022 00:04
@ax3l
Copy link
Member Author

ax3l commented Jun 23, 2022

Likely needs AMReX-Codes/amrex#2849

@RemiLehe RemiLehe changed the title CMake: 3.20+ [WIP] CMake: 3.20+ Jul 11, 2022
@RemiLehe
Copy link
Member

@ax3l Would you have time to rebase this PR?

We already use this version in ImpactX. The main reason is a
severe simplifcation of CMake CUDA search logic that we can
rely on.

X-Ref.:
https://github.com/AMReX-Codes/amrex/blob/2d931f63cb4d611d0d23d694726889647f8a482d/Tools/CMake/AMReXParallelBackends.cmake#L55
@ax3l ax3l changed the title [WIP] CMake: 3.20+ CMake: 3.20+ Jul 14, 2022
@ax3l
Copy link
Member Author

ax3l commented Jul 14, 2022

Rebased now :)

Copy link
Member

@EZoni EZoni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @ax3l! Looks good to me.

@EZoni EZoni merged commit 4688f38 into ECP-WarpX:development Jul 14, 2022
@ax3l ax3l deleted the topic-cmake-3.20 branch July 16, 2022 01:57
dpgrote pushed a commit to RemiLehe/WarpX that referenced this pull request Jul 30, 2022
We already use this version in ImpactX. The main reason is a
severe simplifcation of CMake CUDA search logic that we can
rely on.

X-Ref.:
https://github.com/AMReX-Codes/amrex/blob/2d931f63cb4d611d0d23d694726889647f8a482d/Tools/CMake/AMReXParallelBackends.cmake#L55
kngott pushed a commit to kngott/WarpX that referenced this pull request Sep 9, 2022
```
error ECP-WarpX#3196-D: The enclosing parent function ("ComputeEdgeLengths") for an extended __device__ lambda cannot have private or protected access within its class
```
For:
- `ComputeEdgeLengths`
- `ComputeFaceAreas`
- `ScaleEdges`
- `ScaleAreas`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants