[cfe-commits] r145360 - /cfe/trunk/docs/ReleaseNotes.html

Peter Collingbourne peter at pcc.me.uk
Mon Nov 28 18:03:07 PST 2011


Author: pcc
Date: Mon Nov 28 20:03:07 2011
New Revision: 145360

URL: http://llvm.org/viewvc/llvm-project?rev=145360&view=rev
Log:
Add Clang release notes for OpenCL C support.

Modified:
    cfe/trunk/docs/ReleaseNotes.html

Modified: cfe/trunk/docs/ReleaseNotes.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/ReleaseNotes.html?rev=145360&r1=145359&r2=145360&view=diff
==============================================================================
--- cfe/trunk/docs/ReleaseNotes.html (original)
+++ cfe/trunk/docs/ReleaseNotes.html Mon Nov 28 20:03:07 2011
@@ -211,13 +211,20 @@
 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>





More information about the cfe-commits mailing list