Rework -Weverything
[alexxy/gromacs.git] / src / gromacs / gpu_utils / device_context_ocl.cpp
index 0ecf83daf5e53671d4076e7003368cbcb33cc470..b342d249911e71225c8fbd8bfe4fcb73f11fd92a 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2020, by the GROMACS development team, led by
+ * Copyright (c) 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.
 #include "gromacs/utility/gmxassert.h"
 #include "gromacs/utility/stringutil.h"
 
+#ifndef DOXYGEN
+
 /*! \brief Copies of values from cl_driver_diagnostics_intel.h,
  * which isn't guaranteed to be available. */
 /**@{*/
-#define CL_CONTEXT_SHOW_DIAGNOSTICS_INTEL 0x4106
-#define CL_CONTEXT_DIAGNOSTICS_LEVEL_GOOD_INTEL 0x1
-#define CL_CONTEXT_DIAGNOSTICS_LEVEL_BAD_INTEL 0x2
-#define CL_CONTEXT_DIAGNOSTICS_LEVEL_NEUTRAL_INTEL 0x4
+#    define CL_CONTEXT_SHOW_DIAGNOSTICS_INTEL 0x4106
+#    define CL_CONTEXT_DIAGNOSTICS_LEVEL_GOOD_INTEL 0x1
+#    define CL_CONTEXT_DIAGNOSTICS_LEVEL_BAD_INTEL 0x2
+#    define CL_CONTEXT_DIAGNOSTICS_LEVEL_NEUTRAL_INTEL 0x4
 /**@}*/
 
-#ifndef DOXYGEN
-
 DeviceContext::DeviceContext(const DeviceInformation& deviceInfo) : deviceInfo_(deviceInfo)
 {
     cl_platform_id                     platformId = deviceInfo.oclPlatformId;