Skip to content

Moving to C++20 #4840

@ax3l

Description

@ax3l

Hi,

@WeiqunZhang and I would like to start the discussion when people are ready to move to require C++20 for AMReX.

We have some optional recent features, like SIMD support, that already need C++20 when used. Generally, C++20 adds new features and math functions that we would like to exploit, as usual.

From looking at other projects reporting regressions: The usual candidate that holds us back is the CUDA Toolkit deployed on HPC machines that we run production runs on. From what I saw, I think we need to require at least CUDA/NVCC 12.4.1, even though NVCC added C++20 support already in CUDA 12.0+.

Community: What are your thoughts? Any important machines holding you back?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions