Skip to content

Commit bb92074

Browse files
author
Anastasia Stulova
committed
Release notes for OpenCL
Differential Revision: https://reviews.llvm.org/D58504 llvm-svn: 354799
1 parent 16667e0 commit bb92074

File tree

1 file changed

+54
-4
lines changed

1 file changed

+54
-4
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 54 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Written by the `LLVM Team <https://llvm.org/>`_
1111
Introduction
1212
============
1313

14-
This document contains the release notes for the Clang C/C++/Objective-C
14+
This document contains the release notes for the Clang C/C++/Objective-C/OpenCL
1515
frontend, part of the LLVM Compiler Infrastructure, release 8.0.0. Here we
1616
describe the status of Clang in some detail, including major
1717
improvements from the previous release and new feature work. For the
@@ -259,10 +259,60 @@ Objective-C Language Changes in Clang
259259

260260
...
261261

262-
OpenCL C Language Changes in Clang
263-
----------------------------------
262+
OpenCL Kernel Language Changes in Clang
263+
---------------------------------------
264+
265+
Misc:
266+
267+
- Improved address space support with Clang builtins.
268+
269+
- Improved various diagnostics for vectors with element types from extensions;
270+
values used in attributes; duplicate address spaces.
271+
272+
- Allow blocks to capture arrays.
273+
274+
- Allow zero assignment and comparisons between variables of ``queue_t`` type.
275+
276+
- Improved diagnostics of formatting specifiers and argument promotions for
277+
vector types in ``printf``.
278+
279+
- Fixed return type of enqueued kernel and pipe builtins.
280+
281+
- Fixed address space of ``clk_event_t`` generated in the IR.
282+
283+
- Fixed address space when passing/returning structs.
284+
285+
Header file fixes:
286+
287+
- Added missing extension guards around several builtin function overloads.
288+
289+
- Fixed serialization support when registering vendor extensions using pragmas.
290+
291+
- Fixed OpenCL version in declarations of builtin functions with sampler-less
292+
image accesses.
293+
294+
New vendor extensions added:
295+
296+
- ``cl_intel_planar_yuv``
297+
298+
- ``cl_intel_device_side_avc_motion_estimation``
299+
300+
301+
C++ for OpenCL:
302+
303+
- Added support of address space conversions in C style casts.
304+
305+
- Enabled address spaces for references.
306+
307+
- Fixed use of address spaces in templates: address space deduction and diagnostics.
308+
309+
- Changed default address space to work with C++ specific concepts: class members,
310+
template parameters, etc.
311+
312+
- Added generic address space by default to the generated hidden 'this' parameter.
313+
314+
- Extend overload ranking rules for address spaces.
264315

265-
...
266316

267317
ABI Changes in Clang
268318
--------------------

0 commit comments

Comments
 (0)