Make DeviceContext into a proper class
[alexxy/gromacs.git] / src / gromacs / ewald / pme_gpu_program_impl.h
index 2c79f20a71ba53e49827489b4d91f9b53fb32fb6..0b007c39665f55384211d753324d542aa205dbea 100644 (file)
@@ -44,6 +44,7 @@
 
 #include "config.h"
 
+#include "gromacs/gpu_utils/device_context.h"
 #include "gromacs/gpu_utils/gputraits.h"
 #include "gromacs/utility/classhelpers.h"
 
@@ -77,7 +78,7 @@ struct PmeGpuProgramImpl
      * TODO: Later we want to be able to own the context at a higher level and not here,
      * but this class would still need the non-owning context handle to build the kernels.
      */
-    DeviceContext context;
+    DeviceContext deviceContext_;
 
     //! Conveniently all the PME kernels use the same single argument type
 #if GMX_GPU == GMX_GPU_CUDA