Skip to content

Commit

Permalink
[ReleaseNotes] Add OpenCL release notes
Browse files Browse the repository at this point in the history
Differential Revision: https://reviews.llvm.org/D75125
  • Loading branch information
svenvh committed Feb 27, 2020
1 parent b65707e commit e5cb702
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions clang/docs/ReleaseNotes.rst
Expand Up @@ -309,10 +309,33 @@ Objective-C Language Changes in Clang
// Fix: add an explicit cast to 'id'.
NSDictionary* d = @{(id)cls : @"Hello"};
OpenCL C Language Changes in Clang
----------------------------------
OpenCL Kernel Language Changes in Clang
---------------------------------------

Generic changes:

- Made ``__private`` to be appear explicitly in diagnostics, AST, etc.
- Fixed diagnostics of ``enqueue_kernel``.

OpenCL builtin functions:

- The majority of the OpenCL builtin functions are now available through
the experimental `TableGen` driven ``-fdeclare-opencl-builtins`` option.
- Align the ``enqueue_marker`` declaration in standard ``opencl-c.h`` to the
OpenCL spec.
- Avoid a void pointer cast in the ``CLK_NULL_EVENT`` definition.
- Aligned OpenCL with c11 atomic fetch max/min.

Changes in C++ for OpenCL:

- Fixed language mode predefined macros for C++ mode.
- Allow OpenCL C style compound vector initialization.
- Improved destructor support.
- Implemented address space deduction for pointers/references
to arrays and auto variables.
- Added address spaces support for lambdas and ``constexpr``.
- Fixed misc address spaces usages in classes.

...

ABI Changes in Clang
--------------------
Expand Down

0 comments on commit e5cb702

Please sign in to comment.