From: Rossen Apostolov Date: Thu, 19 Aug 2010 12:43:09 +0000 (+0200) Subject: Enable the Reference platform for OpenMM. X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=commitdiff_plain;h=e3e5abf8b3c0fed1c70d0005554b7a9383d9e05e;p=alexxy%2Fgromacs.git Enable the Reference platform for OpenMM. --- diff --git a/src/kernel/openmm_wrapper.cpp b/src/kernel/openmm_wrapper.cpp index 5a2aa22e08..b874b90435 100644 --- a/src/kernel/openmm_wrapper.cpp +++ b/src/kernel/openmm_wrapper.cpp @@ -160,7 +160,7 @@ static string toUpper(const string &s) GmxOpenMMPlatformOptions#memtests, GmxOpenMMPlatformOptions#deviceid, GmxOpenMMPlatformOptions#force_dev. */ /* {@ */ -#define SIZEOF_PLATFORMS 1 // 2 +#define SIZEOF_PLATFORMS 2 // 2 #define SIZEOF_MEMTESTS 3 #define SIZEOF_DEVICEIDS 1 #define SIZEOF_FORCE_DEV 2 @@ -209,7 +209,7 @@ private: }; const char * const GmxOpenMMPlatformOptions::platforms[SIZEOF_PLATFORMS] - = {"CUDA"}; + = {"CUDA", "Reference"}; //= { "Reference", "CUDA" /*,"OpenCL"*/ }; const char * const GmxOpenMMPlatformOptions::memtests[SIZEOF_MEMTESTS] = { "15", "full", "off" };