diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2016-10-10 22:45:39 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2016-10-10 22:45:39 +0200 |
commit | 8a9d3cdf3733ed03093ec5c6e4a65549646a6c74 (patch) | |
tree | 60f815cc37a95a89368689ed883d70eb55ffdde7 /include | |
parent | f88c50522d6ff832a81f20384e9745ce8cef0625 (diff) |
Added support for compiling the library, the client, and the samples under MSVC 2013
Diffstat (limited to 'include')
-rw-r--r-- | include/clblast_half.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/clblast_half.h b/include/clblast_half.h index 269a520e..05d96f9f 100644 --- a/include/clblast_half.h +++ b/include/clblast_half.h @@ -25,6 +25,11 @@ #include <CL/opencl.h> #endif +// MSVC 2013 doesn't fully support C99 +#ifdef _MSC_VER + #define inline __inline +#endif + // ================================================================================================= // Host data-type for half-precision floating-point (16-bit). This is based on the OpenCL type, |