Commit 89870651 authored by Peter Eastman's avatar Peter Eastman
Browse files

Added OPENMM_EXPORT to various OpenCL platform headers

parent 43e6e68c
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
namespace OpenMM { namespace OpenMM {
class OpenCLCompact { class OPENMM_EXPORT OpenCLCompact {
public: public:
OpenCLCompact(OpenCLContext& context); OpenCLCompact(OpenCLContext& context);
~OpenCLCompact(); ~OpenCLCompact();
......
...@@ -43,7 +43,7 @@ namespace OpenMM { ...@@ -43,7 +43,7 @@ namespace OpenMM {
* user defined mathematical expressions. * user defined mathematical expressions.
*/ */
class OpenCLExpressionUtilities { class OPENMM_EXPORT OpenCLExpressionUtilities {
public: public:
/** /**
* Generate the source code for calculating a set of expressions. * Generate the source code for calculating a set of expressions.
......
...@@ -52,7 +52,7 @@ namespace OpenMM { ...@@ -52,7 +52,7 @@ namespace OpenMM {
* multiply every value of the original data set by the total number of data points. * multiply every value of the original data set by the total number of data points.
*/ */
class OpenCLFFT3D { class OPENMM_EXPORT OpenCLFFT3D {
public: public:
/** /**
* Create an OpenCLFFT3D object for performing transforms of a particular size. * Create an OpenCLFFT3D object for performing transforms of a particular size.
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* -------------------------------------------------------------------------- */ * -------------------------------------------------------------------------- */
#include "openmm/internal/windowsExport.h"
#include <vector> #include <vector>
namespace OpenMM { namespace OpenMM {
...@@ -36,7 +37,7 @@ namespace OpenMM { ...@@ -36,7 +37,7 @@ namespace OpenMM {
* about the behavior and requirements of that force. * about the behavior and requirements of that force.
*/ */
class OpenCLForceInfo { class OPENMM_EXPORT OpenCLForceInfo {
public: public:
OpenCLForceInfo(int requiredForceBuffers) : requiredForceBuffers(requiredForceBuffers) { OpenCLForceInfo(int requiredForceBuffers) : requiredForceBuffers(requiredForceBuffers) {
} }
......
...@@ -37,7 +37,7 @@ namespace OpenMM { ...@@ -37,7 +37,7 @@ namespace OpenMM {
* common workspace arrays, random number generation, and enforcing constraints. * common workspace arrays, random number generation, and enforcing constraints.
*/ */
class OpenCLIntegrationUtilities { class OPENMM_EXPORT OpenCLIntegrationUtilities {
public: public:
OpenCLIntegrationUtilities(OpenCLContext& context, const System& system); OpenCLIntegrationUtilities(OpenCLContext& context, const System& system);
~OpenCLIntegrationUtilities(); ~OpenCLIntegrationUtilities();
......
...@@ -62,7 +62,7 @@ class OpenCLCompact; ...@@ -62,7 +62,7 @@ class OpenCLCompact;
* by ForceImpls during calcForces() or calcEnergy(). * by ForceImpls during calcForces() or calcEnergy().
*/ */
class OpenCLNonbondedUtilities { class OPENMM_EXPORT OpenCLNonbondedUtilities {
public: public:
class ParameterInfo; class ParameterInfo;
OpenCLNonbondedUtilities(OpenCLContext& context); OpenCLNonbondedUtilities(OpenCLContext& context);
......
...@@ -40,7 +40,7 @@ class OpenCLNonbondedUtilities; ...@@ -40,7 +40,7 @@ class OpenCLNonbondedUtilities;
* on the number of parameters required. * on the number of parameters required.
*/ */
class OpenCLParameterSet { class OPENMM_EXPORT OpenCLParameterSet {
public: public:
/** /**
* Create an OpenCLParameterSet. * Create an OpenCLParameterSet.
......
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