diff options
| author | Nathan Conrad <[email protected]> | 2018-04-22 23:29:09 -0400 |
|---|---|---|
| committer | Nathan Conrad <[email protected]> | 2018-04-22 23:29:09 -0400 |
| commit | f97a699ea5bee0a9df79afec40c0142d7ff8c5be (patch) | |
| tree | 2f17ba83c0ee04f34908042855cd8fa2fc4593de /src | |
| parent | cdb59de6dc329ce5777e3c961c09d26f37d32fec (diff) | |
Add cmath include to cuda-math.h, to allow std::isnan to be used
Diffstat (limited to 'src')
| -rw-r--r-- | src/cuda-sim/cuda-math.h | 2 |
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 |
