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: enforce C++17 as minimum C++ standard for ENABLE_DPCPP=ON #1402

Merged
merged 1 commit into from
Sep 23, 2020

Conversation

mic84
Copy link
Contributor

@mic84 mic84 commented Sep 23, 2020

Summary

Set minimum C++ standard to 17 when dpc++ is used. Reason: MKL is using C++17.

Meta-reason: SYCL 2020 is C++17 or newer only, too.

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
  • are described in the proposed changes to the AMReX documentation, if appropriate

@mic84 mic84 requested review from WeiqunZhang and ax3l September 23, 2020 22:57
@ax3l ax3l added the GPU label Sep 23, 2020
@ax3l ax3l added the install label Sep 23, 2020
@mic84 mic84 merged commit fbee3e3 into AMReX-Codes:development Sep 23, 2020
@mic84 mic84 deleted the mr/cmake-dpcpp-c++17 branch September 23, 2020 23:16
kweide added a commit to ECP-Astro/amrex that referenced this pull request Sep 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants