From: Hans Wennborg Date: Tue, 16 Feb 2016 18:43:16 +0000 (+0000) Subject: ReleaseNotes: OpenCL section X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2da05f45ceb97085180bc9429a3c7e9c8c18895c;p=clang ReleaseNotes: OpenCL section By Anastasia Stulova! git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_38@260988 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst index deb6f9c89c..63cae1eb78 100644 --- a/docs/ReleaseNotes.rst +++ b/docs/ReleaseNotes.rst @@ -140,7 +140,41 @@ Objective-C Language Changes in Clang OpenCL C Language Changes in Clang ---------------------------------- -... +Several OpenCL 2.0 features have been added, including: + +- Command-line option ``-std=CL2.0``. + +- Generic address space (``__generic``) along with new conversion rules + between different address spaces and default address space deduction. + +- Support for program scope variables with ``__global`` address space. + +- Pipe specifier was added (although no pipe functions are supported yet). + +- Atomic types: ``atomic_int``, ``atomic_uint``, ``atomic_long``, + ``atomic_ulong``, ``atomic_float``, ``atomic_double``, ``atomic_flag``, + ``atomic_intptr_t``, ``atomic_uintptr_t``, ``atomic_size_t``, + ``atomic_ptrdiff_t`` and their usage with C11 style builtin functions. + +- Image types: ``image2d_depth_t``, ``image2d_array_depth_t``, + ``image2d_msaa_t``, ``image2d_array_msaa_t``, ``image2d_msaa_depth_t``, + ``image2d_array_msaa_depth_t``. + +- Other types (for pipes and device side enqueue): ``clk_event_t``, + ``queue_t``, ``ndrange_t``, ``reserve_id_t``. + +Several additional features/bugfixes have been added to the previous standards: + +- A set of floating point arithmetic relaxation flags: ``-cl-no-signed-zeros``, + ``-cl-unsafe-math-optimizations``, ``-cl-finite-math-only``, + ``-cl-fast-relaxed-math``. + +- Added ``^^`` to the list of reserved operations. + +- Improved vector support and diagnostics. + +- Improved diagnostics for function pointers. + Internal API Changes --------------------