Extend GPU traits class
[alexxy/gromacs.git] / src / gromacs / gpu_utils / gputraits.cuh
index f3bb0437e7544a532da268ee50169aa9d372d9ba..559cad265f0a85708bded768d5f8b92d1f39ff02 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2018, by the GROMACS development team, led by
+ * Copyright (c) 2018,2019, 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.
@@ -40,6 +40,7 @@
  *  \author Aleksei Iupinov <a.yupinov@gmail.com>
  *
  * \inlibraryapi
+ * \ingroup module_gpu_utils
  */
 
 //! \brief GPU command stream
@@ -47,7 +48,7 @@ using CommandStream = cudaStream_t;
 //! \brief Single GPU call timing event - meaningless in CUDA
 using CommandEvent  = void;
 //! \brief Context used explicitly in OpenCL, does nothing in CUDA
-using Context       = void *;
+using DeviceContext = void *;
 
 /*! \internal \brief
  * GPU kernels scheduling description. This is same in OpenCL/CUDA.