summaryrefslogtreecommitdiff
path: root/src/cuda-sim/cuda-math.h
diff options
context:
space:
mode:
authorMahmoud <[email protected]>2018-11-06 19:05:31 -0500
committerMahmoud <[email protected]>2018-11-06 19:05:31 -0500
commitaea51499825e8493f6e4ae1cae7c763797704dc8 (patch)
treebbf89d83d810e6c14b5005491747e3f25e719517 /src/cuda-sim/cuda-math.h
parentffee4550d7452af93d3dcd05fc9a105a56b5b077 (diff)
parent0265d747b06c18d0a1ee00fb1641032201425c97 (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.h3
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