From 375f7c48428ef64920dab4017a056ee1d6989ed1 Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Tue, 29 Nov 2011 02:03:07 +0000 Subject: Add Clang release notes for OpenCL C support. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145360 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/ReleaseNotes.html | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/docs/ReleaseNotes.html b/docs/ReleaseNotes.html index 95d92a2309..68f913d165 100644 --- a/docs/ReleaseNotes.html +++ b/docs/ReleaseNotes.html @@ -211,13 +211,20 @@ these use cases have improved through the introduction of "unknown" types and other AST constructs designed specifically for use cases without complete information about the C++ construct being formed. - +

Initial work to support compiling OpenCL C with Clang

+

Clang has some (limited) support for compiling OpenCL C. The 3.0 +release adds support for the vec_step operator, address space +qualifiers (__private, __global, __local and +__constant), improved vector literal support and code generation +support for the PTX +target.

+ +

Using the libclc library +to supply OpenCL C built-ins, you can use Clang to compile OpenCL C code +into PTX and execute it by loading the resulting PTX as a binary blob using +the nVidia OpenCL library. It has been tested with several OpenCL programs, +including some from the nVidia GPU Computing SDK, and the performance is on +par with the nVidia compiler.

C Language Changes in Clang

-- cgit v1.2.3