biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a0690a6
)
Enable the Reference platform for OpenMM.
author
Rossen Apostolov
<rossen@cbr.su.se>
Thu, 19 Aug 2010 12:43:09 +0000
(14:43 +0200)
committer
Rossen Apostolov
<rossen@cbr.su.se>
Thu, 19 Aug 2010 12:43:09 +0000
(14:43 +0200)
src/kernel/openmm_wrapper.cpp
patch
|
blob
|
history
diff --git
a/src/kernel/openmm_wrapper.cpp
b/src/kernel/openmm_wrapper.cpp
index 5a2aa22e0839d3bbaad290c9791c2808a35dcb1f..b874b904358bc5271107530159a0dca6a9a7794a 100644
(file)
--- 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. */
/* {@ */
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
#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]
};
const char * const GmxOpenMMPlatformOptions::platforms[SIZEOF_PLATFORMS]
- = {"CUDA"};
+ = {"CUDA"
, "Reference"
};
//= { "Reference", "CUDA" /*,"OpenCL"*/ };
const char * const GmxOpenMMPlatformOptions::memtests[SIZEOF_MEMTESTS]
= { "15", "full", "off" };
//= { "Reference", "CUDA" /*,"OpenCL"*/ };
const char * const GmxOpenMMPlatformOptions::memtests[SIZEOF_MEMTESTS]
= { "15", "full", "off" };