Commit 3b859566 authored by Peter Eastman's avatar Peter Eastman
Browse files

Fixed compilation errors in debug mode

parent 1db8640d
......@@ -49,6 +49,9 @@ using namespace std;
#define CL_DEVICE_COMPUTE_CAPABILITY_MAJOR_NV 0x4000
#endif
const int OpenCLContext::ThreadBlockSize = 64;
const int OpenCLContext::TileSize = 32;
OpenCLContext::OpenCLContext(int numParticles, int deviceIndex) : time(0.0), stepCount(0), computeForceCount(0), posq(NULL), velm(NULL),
forceBuffers(NULL), energyBuffer(NULL), atomIndex(NULL), integration(NULL), nonbonded(NULL) {
try {
......
......@@ -130,8 +130,8 @@ struct mm_int16 {
class OPENMM_EXPORT OpenCLContext {
public:
static const int ThreadBlockSize = 64;
static const int TileSize = 32;
static const int ThreadBlockSize;
static const int TileSize;
OpenCLContext(int numParticles, int deviceIndex);
~OpenCLContext();
/**
......
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