SYCL PME Gather kernel
[alexxy/gromacs.git] / src / gromacs / ewald / tests / pmegathertest.cpp
index d1d3ffcc7f43dfe0565ddfa5a3515949cf7b1d99..444ff904cf4b7caf6c57ad646c7fd1339c4809f6 100644 (file)
@@ -254,7 +254,14 @@ public:
             }
             s_inputAtomDataSets_[atomCount] = atomData;
         }
-        s_pmeTestHardwareContexts = createPmeTestHardwareContextList();
+        s_pmeTestHardwareContexts    = createPmeTestHardwareContextList();
+        g_allowPmeWithSyclForTesting = true; // We support PmeGather with SYCL
+    }
+
+    static void TearDownTestSuite()
+    {
+        // Revert the value back.
+        g_allowPmeWithSyclForTesting = false;
     }
 
     //! The test