"ssh:/git@developer.sourcefind.cn:2222/tsoc/openmm.git" did not exist on "5eb439d85ab5ffc11636c9b5e8009e3c1fd6443a"
Unverified Commit 529bf0f2 authored by Andy Simmonett's avatar Andy Simmonett
Browse files

Add extra test to compare DrudeNoseHoover across platforms

parent 7f1dd6a3
......@@ -48,8 +48,9 @@ using namespace std;
extern "C" OPENMM_EXPORT void registerDrudeCudaKernelFactories();
//OpenMM::CudaPlatform platform;
void runPlatformTests() { }
#include "TestDrudeNoseHoover.h"
Platform& initializePlatform(int argc, char* argv[]) {
registerDrudeCudaKernelFactories();
......@@ -57,7 +58,4 @@ Platform& initializePlatform(int argc, char* argv[]) {
return Platform::getPlatformByName("CUDA");
}
#include "TestDrudeNoseHoover.h"
void runPlatformTests() { }
......@@ -48,13 +48,13 @@ using namespace std;
extern "C" OPENMM_EXPORT void registerDrudeOpenCLKernelFactories();
void runPlatformTests() { }
#include "TestDrudeNoseHoover.h"
Platform& initializePlatform(int argc, char* argv[]) {
registerDrudeOpenCLKernelFactories();
if (argc > 1) Platform::getPlatformByName("OpenCL").setPropertyDefaultValue("Precision", std::string(argv[1]));
return Platform::getPlatformByName("OpenCL");
}
#include "TestDrudeNoseHoover.h"
void runPlatformTests() { }
......@@ -30,26 +30,17 @@
* -------------------------------------------------------------------------- */
//#include "ReferenceTests.h"
#include "openmm/internal/AssertionUtilities.h"
#include "openmm/Context.h"
#include "openmm/NonbondedForce.h"
#include "openmm/Platform.h"
#include "openmm/System.h"
#include "openmm/VerletIntegrator.h"
#include "openmm/DrudeForce.h"
#include "SimTKOpenMMUtilities.h"
#include "ReferencePlatform.h"
#include <iostream>
#include <vector>
using namespace OpenMM;
using namespace std;
extern "C" OPENMM_EXPORT void registerDrudeReferenceKernelFactories();
//extern "C" OPENMM_EXPORT void registerDrudeReferenceKernelFactories();
Platform& initializePlatform(int argc, char* argv[]) {
registerDrudeReferenceKernelFactories();
/* registerDrudeReferenceKernelFactories();
*/
return Platform::getPlatformByName("Reference");
}
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment