reduce warnings when compiling with KOKKOS

This commit is contained in:
Axel Kohlmeyer
2022-06-07 19:39:36 -04:00
parent 8f773be2d6
commit 42694ba640

View File

@ -315,7 +315,9 @@
// Enable minimal optimizations for more compact code in debug mode.
FMT_GCC_PRAGMA("GCC push_options")
#ifndef __OPTIMIZE__
// LAMMPS CUSTOMIZATION: suppress warning about pragma with KOKKOS
#if !defined(__OPTIMIZE__) && !defined(LMP_KOKKOS)
// END LAMMPS CUSTOMIZATION
FMT_GCC_PRAGMA("GCC optimize(\"Og\")")
#endif