OpenCL C++ / OpenCL 2.2 Support Begins Its Journey To Mainline LLVM Clang

Hitting mainline Clang this week is the initial support to be able to target OpenCL C++ with the -std=c++ option when passing OpenCL C++14 code to Clang.
The rest of the code wiring in full support for OpenCL C++ / OpenCL 2.2 in Clang hopefully won't be far behind. The branched code against an older version of Clang that Khronos members have been using for OpenCL C++ Clang support until having all of the code mainlined can be found in this KhronosGroup repository.
In somewhat related news, in case you missed it earlier this week, Khronos also officially announced its SPIR-V to/from LLVM IR translator tool. Seeing a SPIR-V back-end in mainline LLVM would be the next big accomplishment for bolstering these Khronos standards but remains to be seen if it will happen by the LLVM 7.0 release later in the year.
13 Comments