Skip to content

Commit e5cb702

Browse files
committed
[ReleaseNotes] Add OpenCL release notes
Differential Revision: https://reviews.llvm.org/D75125
1 parent b65707e commit e5cb702

File tree

1 file changed

+26
-3
lines changed

1 file changed

+26
-3
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,10 +309,33 @@ Objective-C Language Changes in Clang
309309
// Fix: add an explicit cast to 'id'.
310310
NSDictionary* d = @{(id)cls : @"Hello"};
311311
312-
OpenCL C Language Changes in Clang
313-
----------------------------------
312+
OpenCL Kernel Language Changes in Clang
313+
---------------------------------------
314+
315+
Generic changes:
316+
317+
- Made ``__private`` to be appear explicitly in diagnostics, AST, etc.
318+
- Fixed diagnostics of ``enqueue_kernel``.
319+
320+
OpenCL builtin functions:
321+
322+
- The majority of the OpenCL builtin functions are now available through
323+
the experimental `TableGen` driven ``-fdeclare-opencl-builtins`` option.
324+
- Align the ``enqueue_marker`` declaration in standard ``opencl-c.h`` to the
325+
OpenCL spec.
326+
- Avoid a void pointer cast in the ``CLK_NULL_EVENT`` definition.
327+
- Aligned OpenCL with c11 atomic fetch max/min.
328+
329+
Changes in C++ for OpenCL:
330+
331+
- Fixed language mode predefined macros for C++ mode.
332+
- Allow OpenCL C style compound vector initialization.
333+
- Improved destructor support.
334+
- Implemented address space deduction for pointers/references
335+
to arrays and auto variables.
336+
- Added address spaces support for lambdas and ``constexpr``.
337+
- Fixed misc address spaces usages in classes.
314338

315-
...
316339

317340
ABI Changes in Clang
318341
--------------------

0 commit comments

Comments
 (0)