Anastasia created this revision. Anastasia added reviewers: svenvh, azabaznov. Herald added subscribers: Naghasan, ebevhan, yaxunl. Anastasia requested review of this revision.
Summary of important changes for OpenCL in release 14. https://reviews.llvm.org/D119710 Files: clang/docs/ReleaseNotes.rst Index: clang/docs/ReleaseNotes.rst =================================================================== --- clang/docs/ReleaseNotes.rst +++ clang/docs/ReleaseNotes.rst @@ -253,10 +253,38 @@ Objective-C Language Changes in Clang ------------------------------------- -OpenCL C Language Changes in Clang ----------------------------------- - -... +OpenCL Kernel Language Changes in Clang +--------------------------------------- + +OpenCL 3.0 (see :ref:`OpenCL 3.0 status page <opencl_300>` for more details): + +- Added parsing support for optionality of device side enqueue and blocks (not + fully incomplete yet!). +- Added missing support for optionality of various builtin functions: + + - ``read_write`` images, pipes, collective workgroup in the default header. + - ``read_write`` images, named address space atomics in internal ``opencl-c.h`` + (enabled via ``-finclude-default-header`` frontend flag). + +C++ for OpenCL: + +- Added experimental support of C++ for OpenCL 2021 as per `the provisional + language documentation + <https://github.com/KhronosGroup/OpenCL-Docs/releases/tag/cxxforopencl-docrev2021.12>`_. + Support of all optional features is aligned with the OpenCL 3.0 status. +- Added ``__remove_address_space`` utility (documentation available in + :doc:`LanguageExtensions`). +- Fix address space for temporaries (to be ``__private``). +- Disallows static kernel functions. +- Fix implicit definition of ``__cpp_threadsafe_static_init`` macro. + +Misc changes: + +- Added generation of SPIR-V binaries via external ``llvm-spirv`` tool. + For more details refer to :ref:`the SPIR-V support section <spir-v>`. +- Added new extensions for ``atomic_half`` and ``cl_ext_float_atomics``. +- Fixed/improved support of ``vload``/``vstore``. +- Fixed incorrect ``as_type`` support for 3-element vector types. ABI Changes in Clang --------------------
Index: clang/docs/ReleaseNotes.rst =================================================================== --- clang/docs/ReleaseNotes.rst +++ clang/docs/ReleaseNotes.rst @@ -253,10 +253,38 @@ Objective-C Language Changes in Clang ------------------------------------- -OpenCL C Language Changes in Clang ----------------------------------- - -... +OpenCL Kernel Language Changes in Clang +--------------------------------------- + +OpenCL 3.0 (see :ref:`OpenCL 3.0 status page <opencl_300>` for more details): + +- Added parsing support for optionality of device side enqueue and blocks (not + fully incomplete yet!). +- Added missing support for optionality of various builtin functions: + + - ``read_write`` images, pipes, collective workgroup in the default header. + - ``read_write`` images, named address space atomics in internal ``opencl-c.h`` + (enabled via ``-finclude-default-header`` frontend flag). + +C++ for OpenCL: + +- Added experimental support of C++ for OpenCL 2021 as per `the provisional + language documentation + <https://github.com/KhronosGroup/OpenCL-Docs/releases/tag/cxxforopencl-docrev2021.12>`_. + Support of all optional features is aligned with the OpenCL 3.0 status. +- Added ``__remove_address_space`` utility (documentation available in + :doc:`LanguageExtensions`). +- Fix address space for temporaries (to be ``__private``). +- Disallows static kernel functions. +- Fix implicit definition of ``__cpp_threadsafe_static_init`` macro. + +Misc changes: + +- Added generation of SPIR-V binaries via external ``llvm-spirv`` tool. + For more details refer to :ref:`the SPIR-V support section <spir-v>`. +- Added new extensions for ``atomic_half`` and ``cl_ext_float_atomics``. +- Fixed/improved support of ``vload``/``vstore``. +- Fixed incorrect ``as_type`` support for 3-element vector types. ABI Changes in Clang --------------------
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits