summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven van Haastregt <sven.vanhaastregt@arm.com>2020-02-27 14:43:04 +0000
committerSven van Haastregt <sven.vanhaastregt@arm.com>2020-02-27 14:43:04 +0000
commite5cb70267e70a363eea8c47ac6a154ec15078235 (patch)
treeaaf0af941475629ed06133368c8940e35d8683b6
parentb65707e4818e3b5694786b90e6ebdaa17910b016 (diff)
downloadbcm5719-llvm-e5cb70267e70a363eea8c47ac6a154ec15078235.tar.gz
bcm5719-llvm-e5cb70267e70a363eea8c47ac6a154ec15078235.zip
[ReleaseNotes] Add OpenCL release notes
Differential Revision: https://reviews.llvm.org/D75125
-rw-r--r--clang/docs/ReleaseNotes.rst29
1 files changed, 26 insertions, 3 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index c3097bcba8d..63d83ac1c1d 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -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
--------------------
OpenPOWER on IntegriCloud