GPU halo exchange
[alexxy/gromacs.git] / src / gromacs / domdec / domdec_struct.h
index 88bc93be50d35f026301a1b0c507c73dff1987c4..60bd04913d39482cbe185ec374db263f475d45f6 100644 (file)
@@ -74,6 +74,7 @@ namespace gmx
 {
 template <typename T> class HashedMap;
 class LocalAtomSetManager;
+class GpuHaloExchange;
 }
 
 typedef struct {
@@ -226,6 +227,9 @@ struct gmx_domdec_t { //NOLINT(clang-analyzer-optin.performance.Padding)
 
     /* gmx_pme_recv_f buffer */
     std::vector<gmx::RVec> pmeForceReceiveBuffer;
+
+    /* GPU halo exchange object */
+    std::unique_ptr<gmx::GpuHaloExchange> gpuHaloExchange;
 };
 
 //! Are we the master node for domain decomposition