OpenCL 1.1 does not define CL_VERSION_1_2 so use hardcoded number instead
authorJeroen Ketema <j.ketema@imperial.ac.uk>
Thu, 26 Jun 2014 15:26:38 +0000 (15:26 +0000)
committerJeroen Ketema <j.ketema@imperial.ac.uk>
Thu, 26 Jun 2014 15:26:38 +0000 (15:26 +0000)
commit575fb84cc389bba5f9182b41f9b85f200cee4697
tree803906d1699c04c015fafa642591955db71b970e
parent606769ecc6f41f6c0b1828c1e4420470ac5d2ca7
OpenCL 1.1 does not define CL_VERSION_1_2 so use hardcoded number instead

Otherwise the test evaluates to true on OpenCL 1.1 and earlier. Since we
therefore cannot use the CL_VERSION_?_? macros move them to the proper
position in the top-level header.

llvm-svn: 211787
libclc/generic/include/clc/clc.h
libclc/generic/include/clc/float/definitions.h