Move DeviceInfo into GPU traits
[alexxy/gromacs.git] / src / gromacs / gpu_utils / gputraits.h
index 9b91c0ec18e5145695afb1f71703d1fe7b2e5c6e..0229ea443c60c7454a99e50c1751637734dd1964 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2018,2019,2020, 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.
 
 #else
 
+//! Stub for device information.
+struct DeviceInformation
+{
+    // No member needed
+};
+
 //! \brief GPU command stream
 using CommandStream = void*;
 //! \brief Single GPU call timing event