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

SYCL 2020/DPC++: C++17 #1375

Merged
merged 1 commit into from
Sep 24, 2020
Merged

SYCL 2020/DPC++: C++17 #1375

merged 1 commit into from
Sep 24, 2020

Conversation

ax3l
Copy link
Member

@ax3l ax3l commented Sep 24, 2020

Request C++17 in GNUmake for DPC++ builds. This is now required since we use MKL headers that are in C++17 and since SYCL 2020 and later rely on C++17 or newer. (In fact, dpcpp beta07 and newer already defaulted to C++17.)

This updates the explicit GNUmake flag (request exactly one standard).

The CMake flags in WarpX are "request C++14 or newer" and AMReX' CMake target pushes those up to "request C++17 or newer" for DPC++: AMReX-Codes/amrex#1402

@ax3l ax3l added install backend: sycl Specific to DPC++/SYCL execution (CPUs/GPUs) labels Sep 24, 2020
@ax3l ax3l requested a review from WeiqunZhang September 24, 2020 00:11
Request C++17 in GNUmake for DPC++ builds. This is now required since
we use MKL headers that are in C++17 and since SYCL 2020 and later
rely on C++17 or newer.
(In fact, `dpcpp` beta07 and newer already defaulted to C++17.)

This updates the explicit GNUmake flag (request exactly one standard).

The CMake flags in WarpX are "request C++14 or newer" and AMReX
CMake files push those up to "request C++17 or newer" for DPC++.
@ax3l ax3l merged commit 2064967 into ECP-WarpX:development Sep 24, 2020
@ax3l ax3l deleted the topic-dpcppCXX17 branch September 24, 2020 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend: sycl Specific to DPC++/SYCL execution (CPUs/GPUs) install
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants