@@ -210,10 +210,38 @@ C++1z Feature Support
210
210
Objective-C Language Changes in Clang
211
211
-------------------------------------
212
212
213
- OpenCL C Language Changes in Clang
214
- ----------------------------------
215
-
216
- ...
213
+ OpenCL Kernel Language Changes in Clang
214
+ ---------------------------------------
215
+
216
+ - Improved online documentation: :doc: `UsersManual ` and :doc: `OpenCLSupport `
217
+ pages.
218
+ - Added ``-cl-std=CL3.0 `` and predefined version macro for OpenCL 3.0.
219
+ - Added ``-cl-std=CL1.0 `` and mapped to the existing OpenCL 1.0 functionality.
220
+ - Improved OpenCL extension handling per target.
221
+ - Added clang extension for function pointers ``__cl_clang_function_pointers ``
222
+ and variadic functions ``__cl_clang_variadic_functions ``, more details can be
223
+ found in :doc: `LanguageExtensions `.
224
+ - Removed extensions without kernel language changes:
225
+ ``cl_khr_select_fprounding_mode ``, ``cl_khr_gl_sharing ``, ``cl_khr_icd ``,
226
+ ``cl_khr_gl_event ``, ``cl_khr_d3d10_sharing ``, ``cl_khr_context_abort ``,
227
+ ``cl_khr_d3d11_sharing ``, ``cl_khr_dx9_media_sharing ``,
228
+ ``cl_khr_image2d_from_buffer ``, ``cl_khr_initialize_memory ``,
229
+ ``cl_khr_gl_depth_images ``, ``cl_khr_spir ``, ``cl_khr_egl_event ``,
230
+ ``cl_khr_egl_image ``, ``cl_khr_terminate_context ``.
231
+ - Improved diagnostics for unevaluated ``vec_step `` expression.
232
+ - Allow nested pointers (e.g. pointer-to-pointer) kernel arguments beyond OpenCL
233
+ 1.2.
234
+ - Added ``global_device `` and ``global_host `` address spaces for USM
235
+ allocations.
236
+
237
+ Miscellaneous improvements in C++ for OpenCL support:
238
+
239
+ - Added diagnostics for pointers to member functions and references to
240
+ functions.
241
+ - Added support of ``vec_step `` builtin.
242
+ - Fixed ICE on address spaces with forwarding references and templated copy
243
+ constructors.
244
+ - Removed warning for variadic macro use.
217
245
218
246
ABI Changes in Clang
219
247
--------------------
0 commit comments