From f83b796c83cd72830f0ae047018e83dabb60f70f Mon Sep 17 00:00:00 2001 From: Stan Gerald Moore Date: Mon, 25 Jan 2021 13:44:07 -0700 Subject: [PATCH] Add note on C++14 requirement in Docs --- doc/src/Speed_kokkos.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/src/Speed_kokkos.rst b/doc/src/Speed_kokkos.rst index e7724eb229..0f25f3a0d1 100644 --- a/doc/src/Speed_kokkos.rst +++ b/doc/src/Speed_kokkos.rst @@ -26,6 +26,15 @@ task). These are Serial (MPI-only for CPUs and Intel Phi), OpenMP GPUs) and HIP (for AMD GPUs). You choose the mode at build time to produce an executable compatible with a specific hardware. +.. admonition:: C++14 support + :class: note + + Kokkos requires using a compiler that supports the c++14 standard. For + some compilers, it may be necessary to add a flag to enable c++14 support. + For example, the GNU compiler uses the -std=c++14 flag. For a list of + compilers that have been tested with the Kokkos library, see the Kokkos + `README `_. + .. admonition:: NVIDIA CUDA support :class: note