Commit 97c767f8 authored by Mark Friedrichs's avatar Mark Friedrichs
Browse files

addition of OPENMMCUDA_EXPORT for Windows compile

parent ee93de5b
......@@ -305,7 +305,7 @@ Also note that you need to use 1.3 capbility (use arch=sm_13 in your compile com
*************************************************************************************/
template<>
void bbSort(int2* dData,int size,int listOrder)
void OPENMMCUDA_EXPORT bbSort(int2* dData,int size,int listOrder)
{
bbSortBody(dData,size,listOrder);
......
......@@ -1735,7 +1735,7 @@ void gpuInitializeRandoms(gpuContext gpu)
}
extern "C"
bool gpuIsAvailable()
bool OPENMMCUDA_EXPORT gpuIsAvailable()
{
int deviceCount;
cudaGetDeviceCount(&deviceCount);
......
......@@ -190,7 +190,7 @@ typedef struct _gpuContext *gpuContext;
// Function prototypes
extern "C"
bool gpuIsAvailable();
bool OPENMMCUDA_EXPORT gpuIsAvailable();
extern "C"
void gpuSetBondParameters(gpuContext gpu, const std::vector<int>& atom1, const std::vector<int>& atom2, const std::vector<float>& length, const std::vector<float>& k);
......
......@@ -63,7 +63,7 @@ public:
}
};
class OpenCLPlatform::PlatformData {
class OPENMM_EXPORT OpenCLPlatform::PlatformData {
public:
PlatformData(int numParticles, const std::string& deviceIndexProperty);
~PlatformData();
......
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