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
2eaa120b
Commit
2eaa120b
authored
Apr 09, 2010
by
Peter Eastman
Browse files
Eliminated a compilation warning
parent
1d0193eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
platforms/cuda/src/kernels/kCalculateCDLJEwaldFastReciprocal.h
...orms/cuda/src/kernels/kCalculateCDLJEwaldFastReciprocal.h
+0
-3
platforms/cuda/src/kernels/kCalculateCDLJForces.h
platforms/cuda/src/kernels/kCalculateCDLJForces.h
+1
-1
No files found.
platforms/cuda/src/kernels/kCalculateCDLJEwaldFastReciprocal.h
View file @
2eaa120b
...
@@ -29,9 +29,6 @@
...
@@ -29,9 +29,6 @@
* Ewald summation method (Reciprocal space summation).
* Ewald summation method (Reciprocal space summation).
*/
*/
/* Cuda compiler on Windows does not recognized "static const float" values */
#define LOCAL_HACK_PI 3.1415926535897932384626433832795
/* Define multiply operations for floats */
/* Define multiply operations for floats */
__device__
float2
MultofFloat2
(
float2
a
,
float2
b
)
__device__
float2
MultofFloat2
(
float2
a
,
float2
b
)
...
...
platforms/cuda/src/kernels/kCalculateCDLJForces.h
View file @
2eaa120b
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
*/
*/
/* Cuda compiler on Windows does not recognized "static const float" values */
/* Cuda compiler on Windows does not recognized "static const float" values */
#define LOCAL_HACK_PI 3.1415926535897932384626433832795
#define LOCAL_HACK_PI 3.1415926535897932384626433832795
f
__global__
__global__
#if (__CUDA_ARCH__ >= 200)
#if (__CUDA_ARCH__ >= 200)
...
...
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