diff options
| author | aamir <[email protected]> | 2018-10-24 21:18:27 -0700 |
|---|---|---|
| committer | aamir <[email protected]> | 2018-10-24 21:18:27 -0700 |
| commit | 7c441c450e40bf07bdf1acfe1eb2258952e1f7b7 (patch) | |
| tree | ff4f3ab1e5d42c8284d419209afb2ccc5f25603b /src/cuda-sim/cuda-math.h | |
| parent | 68134d5eb326552fc1ef4b02b2eb21103266283b (diff) | |
| parent | 09e6092ace5213a5d5a49bf80b052802c06a4268 (diff) | |
merged tensor-cores code
Diffstat (limited to 'src/cuda-sim/cuda-math.h')
| -rw-r--r-- | src/cuda-sim/cuda-math.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cuda-sim/cuda-math.h b/src/cuda-sim/cuda-math.h index afac330..a5db337 100644 --- a/src/cuda-sim/cuda-math.h +++ b/src/cuda-sim/cuda-math.h @@ -64,6 +64,7 @@ * the above Disclaimer and U.S. Government End Users Notice. */ + #ifndef CUDA_MATH #define CUDA_MATH @@ -360,7 +361,7 @@ int __signbitd(double d) #ifdef __APPLE__ int isnanf(float a) { - return (isnan(a)); + return (std::isnan(a)); } #endif |
