@@ -11,7 +11,7 @@ Written by the `LLVM Team <https://llvm.org/>`_
11
11
Introduction
12
12
============
13
13
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
15
15
frontend, part of the LLVM Compiler Infrastructure, release 8.0.0. Here we
16
16
describe the status of Clang in some detail, including major
17
17
improvements from the previous release and new feature work. For the
@@ -259,10 +259,60 @@ Objective-C Language Changes in Clang
259
259
260
260
...
261
261
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.
264
315
265
- ...
266
316
267
317
ABI Changes in Clang
268
318
--------------------
0 commit comments