OpenCL support for Clang release 3.8 notes

Anastasia Stulova via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 15 04:07:27 PST 2016


Hi Hans,

Could we please add the description of OpenCL support into the release notes?

It covers a larger time frame than just the current release but since it hasn't been in the release notes before, I hope it's fine. It would be good to inform what we were working on in the past.

I propose the text below (feedback if any is appreciated). I can convert to any format if needed.

Thanks,
Anastasia

###OpenCL Support###

Several OpenCL 2.0 features have been added, including:

-          Command line option -std=CL2.0.

-          Generic address space (__generic) along with new conversion rules between different AS and default AS deduction.

-          Support for program scope variables with __global AS.

-          Pipe specifier was added (although no pipe functions are supported yet).

-          Atomic types: atomic_int, atomic_uint, atomic_long, atomic_ulong, atomic_float, atomic_double, atomic_flag, atomic_intptr_t, atomic_uintptr_t, atomic_size_t, atomic_ptrdiff_t and their usage with C11 style builtin functions.

-          Image types: image2d_depth_t, image2d_array_depth_t, image2d_msaa_t, image2d_array_msaa_t, image2d_msaa_depth_t, image2d_array_msaa_depth_t.

-          Other types (for pipes and device side enqueue): clk_event_t, queue_t, ndrange_t, reserve_id_t.

Several additional features/bugfixes have been added to the previous standards:

-          A set of floating point arithmetic relaxation flags: -cl-no-signed-zeros, -cl-unsafe-math-optimizations, -cl-finite-math-only, -cl-fast-relaxed-math.

-          Added ^^ to the list of reserved operations.

-          Improved vector support and diagnostics.

-          Improved diagnostics for function pointers.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160215/7a25790f/attachment.html>


More information about the cfe-commits mailing list