X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=blobdiff_plain;f=src%2Fgromacs%2Fewald%2Ftests%2Fpmesolvetest.cpp;h=c8ea1bff1240ded7d5f06553d523529368557964;hb=01449308f91c3f4ab9cac235fef076e6aac1fa9a;hp=5c48955cc473f27f37737dce24a47f83052b0eb3;hpb=eb74bfa4c8a28798caf8cb5bb5fa922d87829d62;p=alexxy%2Fgromacs.git diff --git a/src/gromacs/ewald/tests/pmesolvetest.cpp b/src/gromacs/ewald/tests/pmesolvetest.cpp index 5c48955cc4..c8ea1bff12 100644 --- a/src/gromacs/ewald/tests/pmesolvetest.cpp +++ b/src/gromacs/ewald/tests/pmesolvetest.cpp @@ -76,7 +76,17 @@ public: PmeSolveTest() = default; //! Sets the programs once - static void SetUpTestSuite() { s_pmeTestHardwareContexts = createPmeTestHardwareContextList(); } + static void SetUpTestSuite() + { + s_pmeTestHardwareContexts = createPmeTestHardwareContextList(); + g_allowPmeWithSyclForTesting = true; // We support PmeSolve with SYCL + } + + static void TearDownTestSuite() + { + // Revert the value back. + g_allowPmeWithSyclForTesting = false; + } //! The test static void runTest()