summaryrefslogtreecommitdiff
path: root/src/cuda-sim/cuda-math.h
diff options
context:
space:
mode:
authorNathan Conrad <[email protected]>2018-04-22 23:29:09 -0400
committerNathan Conrad <[email protected]>2018-04-22 23:29:09 -0400
commitf97a699ea5bee0a9df79afec40c0142d7ff8c5be (patch)
tree2f17ba83c0ee04f34908042855cd8fa2fc4593de /src/cuda-sim/cuda-math.h
parentcdb59de6dc329ce5777e3c961c09d26f37d32fec (diff)
Add cmath include to cuda-math.h, to allow std::isnan to be used
Diffstat (limited to 'src/cuda-sim/cuda-math.h')
-rw-r--r--src/cuda-sim/cuda-math.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cuda-sim/cuda-math.h b/src/cuda-sim/cuda-math.h
index a3db0df..f88c526 100644
--- a/src/cuda-sim/cuda-math.h
+++ b/src/cuda-sim/cuda-math.h
@@ -67,6 +67,8 @@
#ifndef CUDA_MATH
#define CUDA_MATH
+#include <cmath>
+
// cuda math implementations
#undef max
#undef min