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
c2fd9512
Commit
c2fd9512
authored
Mar 26, 2011
by
Peter Eastman
Browse files
Added missing registerPlatforms() functions to plugins
parent
9298d000
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
1 deletion
+13
-1
plugins/amoeba/platforms/cuda/src/AmoebaCudaKernelFactory.cpp
...ins/amoeba/platforms/cuda/src/AmoebaCudaKernelFactory.cpp
+4
-1
plugins/amoeba/platforms/reference/src/AmoebaReferenceKernelFactory.cpp
.../platforms/reference/src/AmoebaReferenceKernelFactory.cpp
+3
-0
plugins/freeEnergy/platforms/cuda/src/CudaFreeEnergyKernelFactory.cpp
...Energy/platforms/cuda/src/CudaFreeEnergyKernelFactory.cpp
+3
-0
plugins/freeEnergy/platforms/reference/src/ReferenceFreeEnergyKernelFactory.cpp
...tforms/reference/src/ReferenceFreeEnergyKernelFactory.cpp
+3
-0
No files found.
plugins/amoeba/platforms/cuda/src/AmoebaCudaKernelFactory.cpp
View file @
c2fd9512
...
...
@@ -33,7 +33,10 @@
using
namespace
OpenMM
;
extern
"C"
void
OPENMMCUDA_EXPORT
registerKernelFactories
()
{
extern
"C"
void
registerPlatforms
()
{
}
extern
"C"
void
registerKernelFactories
()
{
//fprintf( stderr,"In registerKernelFactories AmoebaCudaKernelFactory\n" ); fflush( stderr );
for
(
int
ii
=
0
;
ii
<
Platform
::
getNumPlatforms
();
ii
++
){
Platform
&
platform
=
Platform
::
getPlatform
(
ii
);
...
...
plugins/amoeba/platforms/reference/src/AmoebaReferenceKernelFactory.cpp
View file @
c2fd9512
...
...
@@ -33,6 +33,9 @@
using
namespace
OpenMM
;
extern
"C"
void
registerPlatforms
()
{
}
#if defined(WIN32)
#include <windows.h>
extern
"C"
void
registerKernelFactories
();
...
...
plugins/freeEnergy/platforms/cuda/src/CudaFreeEnergyKernelFactory.cpp
View file @
c2fd9512
...
...
@@ -33,6 +33,9 @@
using
namespace
OpenMM
;
extern
"C"
void
registerPlatforms
()
{
}
extern
"C"
void
registerKernelFactories
()
{
// (void) fprintf( stderr, "initOpenMMCudaFreeEnergyPlugin called\n");
if
(
gpuIsAvailableSoftcore
()
){
...
...
plugins/freeEnergy/platforms/reference/src/ReferenceFreeEnergyKernelFactory.cpp
View file @
c2fd9512
...
...
@@ -36,6 +36,9 @@
using
namespace
OpenMM
;
extern
"C"
void
registerPlatforms
()
{
}
#if defined(WIN32)
#include <windows.h>
extern
"C"
void
registerKernelFactories
();
...
...
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