Commit 625180a6 authored by Peter Eastman's avatar Peter Eastman
Browse files

getSpeed() returns 50 for OpenCL platform

parent ebdb2ef3
......@@ -29,8 +29,6 @@
#include "openmm/Platform.h"
struct _gpuContext;
namespace OpenMM {
class OpenCLContext;
......@@ -48,7 +46,7 @@ public:
return name;
}
double getSpeed() const {
return 0; // TODO Increase this. Currently set to 0 so it will never be selected automatically.
return 50;
}
bool supportsDoublePrecision() const;
const std::string& getPropertyValue(const Context& context, const std::string& property) const;
......
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