Sven van Haastregt | 5e962e8 | 2019-10-17 12:56:02 | [diff] [blame^] | 1 | .. raw:: html |
| 2 | |
| 3 | <style type="text/css"> |
| 4 | .none { background-color: #FFCCCC } |
| 5 | .partial { background-color: #FFFF99 } |
| 6 | .good { background-color: #CCFF99 } |
| 7 | </style> |
| 8 | |
| 9 | .. role:: none |
| 10 | .. role:: partial |
| 11 | .. role:: good |
| 12 | |
| 13 | .. contents:: |
| 14 | :local: |
| 15 | |
| 16 | ================== |
| 17 | OpenCL Support |
| 18 | ================== |
| 19 | |
| 20 | Clang fully supports all OpenCL C versions from 1.1 to 2.0. |
| 21 | |
| 22 | Please refer to `Bugzilla |
| 23 | <https://bugs.llvm.org/buglist.cgi?component=OpenCL&list_id=172679&product=clang&resolution=--->`_ |
| 24 | for the most up to date bug reports. |
| 25 | |
| 26 | |
| 27 | C++ for OpenCL Implementation Status |
| 28 | ==================================== |
| 29 | |
| 30 | Bugzilla bugs for this functionality are typically prefixed |
| 31 | with '[C++]'. |
| 32 | |
| 33 | Differences to OpenCL C |
| 34 | ----------------------- |
| 35 | |
| 36 | TODO! |
| 37 | |
| 38 | Missing features or with limited support |
| 39 | ---------------------------------------- |
| 40 | |
| 41 | - Use of ObjC blocks is disabled. |
| 42 | |
| 43 | - Global destructor invocation is not generated correctly. |
| 44 | |
| 45 | - Initialization of objects in `__constant` address spaces is not guaranteed to work. |
| 46 | |
| 47 | - `addrspace_cast` operator is not supported. |