Enable the Reference platform for OpenMM.
authorRossen Apostolov <rossen@cbr.su.se>
Thu, 19 Aug 2010 12:43:09 +0000 (14:43 +0200)
committerRossen Apostolov <rossen@cbr.su.se>
Thu, 19 Aug 2010 12:43:09 +0000 (14:43 +0200)
src/kernel/openmm_wrapper.cpp

index 5a2aa22e0839d3bbaad290c9791c2808a35dcb1f..b874b904358bc5271107530159a0dca6a9a7794a 100644 (file)
@@ -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" };