Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
97c767f8
Commit
97c767f8
authored
Jul 22, 2011
by
Mark Friedrichs
Browse files
addition of OPENMMCUDA_EXPORT for Windows compile
parent
ee93de5b
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
4 deletions
+4
-4
docs/UsersGuide/OpenMMUsersGuide.doc
docs/UsersGuide/OpenMMUsersGuide.doc
+0
-0
platforms/cuda/src/kernels/bbsort.cu
platforms/cuda/src/kernels/bbsort.cu
+1
-1
platforms/cuda/src/kernels/gpu.cpp
platforms/cuda/src/kernels/gpu.cpp
+1
-1
platforms/cuda/src/kernels/gputypes.h
platforms/cuda/src/kernels/gputypes.h
+1
-1
platforms/opencl/include/OpenCLPlatform.h
platforms/opencl/include/OpenCLPlatform.h
+1
-1
No files found.
docs/UsersGuide/OpenMMUsersGuide.doc
View file @
97c767f8
No preview for this file type
platforms/cuda/src/kernels/bbsort.cu
View file @
97c767f8
...
...
@@ -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
);
...
...
platforms/cuda/src/kernels/gpu.cpp
View file @
97c767f8
...
...
@@ -1735,7 +1735,7 @@ void gpuInitializeRandoms(gpuContext gpu)
}
extern
"C"
bool
gpuIsAvailable
()
bool
OPENMMCUDA_EXPORT
gpuIsAvailable
()
{
int
deviceCount
;
cudaGetDeviceCount
(
&
deviceCount
);
...
...
platforms/cuda/src/kernels/gputypes.h
View file @
97c767f8
...
...
@@ -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
);
...
...
platforms/opencl/include/OpenCLPlatform.h
View file @
97c767f8
...
...
@@ -63,7 +63,7 @@ public:
}
};
class
OpenCLPlatform
::
PlatformData
{
class
OPENMM_EXPORT
OpenCLPlatform
::
PlatformData
{
public:
PlatformData
(
int
numParticles
,
const
std
::
string
&
deviceIndexProperty
);
~
PlatformData
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment