We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5bbbc2 commit 900b211Copy full SHA for 900b211
src/tests/include/BlasBase.h
@@ -20,6 +20,7 @@
20
21
#include <clBLAS.h>
22
#include <common.h>
23
+#include <algorithm>
24
25
#if _MSC_VER
26
#pragma warning (disable:4127)
src/tests/include/blas-math.h
@@ -20,10 +20,12 @@
#if defined (_MSC_VER)
+#if( _MSC_VER <= 1700 )
static unsigned long long ROW_NAN = 0x7ff0000000000000LL;
-static unsigned int ROW_NANF = 0x7fc00000;
-
#define NAN *(reinterpret_cast<double*>(&ROW_NAN))
+#endif
27
+
28
+static unsigned int ROW_NANF = 0x7fc00000;
29
#define NANF *(reinterpret_cast<float*>(&ROW_NANF))
30
31
#else /* _MSC_VER */
0 commit comments