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
0d19a61c
Commit
0d19a61c
authored
Nov 18, 2009
by
Mark Friedrichs
Browse files
Mods to get rng to compile on Linux
parent
35daf780
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
platforms/cuda/src/kernels/rng.h
platforms/cuda/src/kernels/rng.h
+4
-2
No files found.
platforms/cuda/src/kernels/rng.h
View file @
0d19a61c
...
...
@@ -65,8 +65,10 @@
#ifdef _MSC_VER
#include "windowsStdInt.h"
#else
#include <cstdint> // Use the C99 official header
//#define UINT32_MAX 0xffffffff
#include <stdint.h> // Use the C99 official header
#ifndef UINT32_MAX
#define UINT32_MAX 0xffffffff
#endif
#endif
#include <cstdlib>
...
...
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