Peter Collingbourne | d5395fb | 2012-01-08 22:09:58 +0000 | [diff] [blame] | 1 | <html> |
| 2 | <head> |
| 3 | <title>libclc</title> |
| 4 | </head> |
| 5 | <body> |
| 6 | <h1>libclc</h1> |
| 7 | <p> |
Peter Collingbourne | 74790d6 | 2012-02-22 04:47:39 +0000 | [diff] [blame] | 8 | libclc is an open source, BSD/MIT dual licensed |
Peter Collingbourne | d5395fb | 2012-01-08 22:09:58 +0000 | [diff] [blame] | 9 | implementation of the library requirements of the |
| 10 | OpenCL C programming language, as specified by the <a |
| 11 | href="http://www.khronos.org/registry/cl/specs/opencl-1.1.pdf">OpenCL |
| 12 | 1.1 Specification</a>. The following sections of the specification |
| 13 | impose library requirements: |
| 14 | <ul> |
| 15 | <li>6.1: Supported Data Types |
| 16 | <li>6.2.3: Explicit Conversions |
| 17 | <li>6.2.4.2: Reinterpreting Types Using as_type() and as_typen() |
| 18 | <li>6.9: Preprocessor Directives and Macros |
| 19 | <li>6.11: Built-in Functions |
| 20 | <li>9.3: Double Precision Floating-Point |
| 21 | <li>9.4: 64-bit Atomics |
| 22 | <li>9.5: Writing to 3D image memory objects |
| 23 | <li>9.6: Half Precision Floating-Point |
| 24 | </ul> |
| 25 | </p> |
| 26 | |
| 27 | <p> |
| 28 | libclc is intended to be used with the <a href="http://clang.llvm.org/">Clang</a> |
| 29 | compiler's OpenCL frontend. |
| 30 | </p> |
| 31 | |
| 32 | <p> |
| 33 | libclc is designed to be portable and extensible. To this end, |
| 34 | it provides generic implementations of most library requirements, |
| 35 | allowing the target to override the generic implementation at the |
| 36 | granularity of individual functions. |
| 37 | </p> |
| 38 | |
| 39 | <p> |
| 40 | libclc currently only supports the PTX target, but support for more |
| 41 | targets is welcome. |
| 42 | </p> |
| 43 | |
| 44 | <h2>Download</h2> |
| 45 | |
Peter Collingbourne | bcd9a7d | 2012-02-20 01:32:12 +0000 | [diff] [blame] | 46 | <tt>svn checkout http://llvm.org/svn/llvm-project/libclc/trunk libclc</tt> (<a href="http://llvm.org/viewvc/llvm-project/libclc/trunk/">ViewVC</a>) |
Peter Collingbourne | 0d0ef78 | 2012-01-08 22:31:18 +0000 | [diff] [blame] | 47 | <br>- or -<br> |
Peter Collingbourne | bcd9a7d | 2012-02-20 01:32:12 +0000 | [diff] [blame] | 48 | <tt>git clone http://llvm.org/git/libclc.git</tt> |
Peter Collingbourne | d5395fb | 2012-01-08 22:09:58 +0000 | [diff] [blame] | 49 | |
| 50 | <h2>Mailing List</h2> |
| 51 | |
| 52 | libclc-dev@pcc.me.uk (<a href="http://www.pcc.me.uk/cgi-bin/mailman/listinfo/libclc-dev">subscribe/unsubscribe</a>, <a href="http://www.pcc.me.uk/pipermail/libclc-dev/">archives</a>) |
| 53 | |
| 54 | </body> |
| 55 | </html> |