summaryrefslogtreecommitdiffstats
path: root/docs/ReleaseNotes.html
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2011-11-29 02:03:07 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2011-11-29 02:03:07 +0000
commit375f7c48428ef64920dab4017a056ee1d6989ed1 (patch)
treea3dc3defc591acade1a01f338b60c030e5b107ac /docs/ReleaseNotes.html
parent5cc989e8d709037420e02c0bb4c77c851c518277 (diff)
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
Diffstat (limited to 'docs/ReleaseNotes.html')
-rw-r--r--docs/ReleaseNotes.html21
1 files 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.
-<!--
-Need Peter and/or Tanya to flesh this out if we want it in 3.0's notes.. The
-state isn't clear just from documentation or commit logs.
-
-<h4 id="opencl">Initial work to support compiling OpenCL with Clang</h4>
-Clang has some (limited) support for compiling OpenCL.
--->
+<h4 id="opencl">Initial work to support compiling OpenCL C with Clang</h4>
+<p>Clang has some (limited) support for compiling OpenCL C. The 3.0
+release adds support for the <tt>vec_step</tt> operator, address space
+qualifiers (<tt>__private</tt>, <tt>__global</tt>, <tt>__local</tt> and
+<tt>__constant</tt>), improved vector literal support and code generation
+support for the <a href="http://llvm.org/docs/ReleaseNotes.html#PTX">PTX
+target</a>.</p>
+
+<p>Using the <a href="http://www.pcc.me.uk/~peter/libclc/">libclc library</a>
+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.</p>
<!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = -->
<h3 id="cchanges">C Language Changes in Clang</h3>