clang-tidy-11 fixes for hardware
[alexxy/gromacs.git] / src / gromacs / hardware / identifyavx512fmaunits.cpp
index 4138130eef92e6ed1c5d6d882491b02b7f9b8fab..b7ae52707c3ce0457c91c216ced8de92fbf0689c 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2017,2018,2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 2017,2018,2019,2020,2021, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -292,6 +292,7 @@ bool checkDualAvx512FmaUnits()
  * We only execute the test once, and return the saved result
  * on subsequent calls.
  */
+// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
 std::mutex initMutex;
 
 } // namespace