diff options
| author | Mahmoud <[email protected]> | 2018-11-06 19:05:31 -0500 |
|---|---|---|
| committer | Mahmoud <[email protected]> | 2018-11-06 19:05:31 -0500 |
| commit | aea51499825e8493f6e4ae1cae7c763797704dc8 (patch) | |
| tree | bbf89d83d810e6c14b5005491747e3f25e719517 /src/cuda-sim/cuda-math.h | |
| parent | ffee4550d7452af93d3dcd05fc9a105a56b5b077 (diff) | |
| parent | 0265d747b06c18d0a1ee00fb1641032201425c97 (diff) | |
Merge branch 'dev' of https://github.com/gpgpu-sim/gpgpu-sim_distribution into dev-tensor
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 |
