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
4c0c5649
"platforms/opencl/tests/TestOpenCLHarmonicBondForce.cpp" did not exist on "85da5e0f9018719e95350c76b483a2160c84d9d3"
Commit
4c0c5649
authored
Apr 23, 2009
by
Peter Eastman
Browse files
Fixed compilation problems under Windows
parent
f6352d88
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
openmmapi/include/openmm/Units.h
openmmapi/include/openmm/Units.h
+3
-0
platforms/cuda/src/kernels/hilbert.h
platforms/cuda/src/kernels/hilbert.h
+9
-1
No files found.
openmmapi/include/openmm/Units.h
View file @
4c0c5649
...
...
@@ -32,6 +32,9 @@
* USE OR OTHER DEALINGS IN THE SOFTWARE. *
* -------------------------------------------------------------------------- */
#ifdef _MSC_VER
#define _USE_MATH_DEFINES
#endif
#include <cmath>
/** \file
...
...
platforms/cuda/src/kernels/hilbert.h
View file @
4c0c5649
...
...
@@ -6,10 +6,18 @@
extern
"C"
{
#endif
#ifdef _MSC_VER
/* define the bitmask_t type as an integer of sufficient size */
typedef
unsigned
long
long
bitmask_t
;
/* define the halfmask_t type as an integer of 1/2 the size of bitmask_t */
typedef
unsigned
long
halfmask_t
;
typedef
unsigned
int
halfmask_t
;
#else
#include <stdint.h>
/* define the bitmask_t type as an integer of sufficient size */
typedef
uint64_t
bitmask_t
;
/* define the halfmask_t type as an integer of 1/2 the size of bitmask_t */
typedef
uint32_t
halfmask_t
;
#endif
/*****************************************************************
* hilbert_i2c
...
...
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