LLVM recently released Clang 14. New OpenCL features include the ability to generate a SPIR-V binary, support for OpenCL 3.0 and more…
LLVM recently released Clang 14. New OpenCL features include the ability to generate a SPIR-V binary, support for OpenCL 3.0 and more…
Khronos has made substantial investments in strengthening the SPIR-V backend for LLVM and the OpenCL Working Group is pleased to release early results from testing that provide insights into compilation coverage using the OpenCL conformance test suite and LLVM’s tests. Work in the past months has been dedicated to the overall design of LLVM’s new backend and its integration with the Clang frontend, with particular focus on parsing OpenCL kernel language sources. Khronos will soon finalize this design and commence integration into the upstream LLVM repository. To speed progress, a special panel is going to take place at the LLVM Developers Meeting to discuss the overall design and formulate a concrete list of actions.
The C++ for OpenCL programming language and OpenCL C language extensions are already supported by Clang! Please refer to the official Clang documentation for more details on how to use the new language mode and for the information about the implementation status.
LLVM Clang 9.0 has been released and is now available for download. This is the first release to contain experimental support of C++ for OpenCL language mode in Clang. More details can be found in the Clang documentation. This new support will be discussed at the LLVM Developers meeting (October 2019) at the From C++ for OpenCL to C++ for accelerator devices talk by Khronos Member Anastasia Stulova.