r375111 - [OpenCL] Add doc to describe OpenCL support
Sven van Haastregt via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 17 05:56:02 PDT 2019
Author: svenvh
Date: Thu Oct 17 05:56:02 2019
New Revision: 375111
URL: http://llvm.org/viewvc/llvm-project?rev=375111&view=rev
Log:
[OpenCL] Add doc to describe OpenCL support
The idea of this page is to document work in progress functionality
and also describe the plan of future development work.
Patch by Anastasia Stulova.
Differential Revision: https://reviews.llvm.org/D69072
Added:
cfe/trunk/docs/OpenCLSupport.rst
Modified:
cfe/trunk/docs/index.rst
Added: cfe/trunk/docs/OpenCLSupport.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/OpenCLSupport.rst?rev=375111&view=auto
==============================================================================
--- cfe/trunk/docs/OpenCLSupport.rst (added)
+++ cfe/trunk/docs/OpenCLSupport.rst Thu Oct 17 05:56:02 2019
@@ -0,0 +1,47 @@
+.. raw:: html
+
+ <style type="text/css">
+ .none { background-color: #FFCCCC }
+ .partial { background-color: #FFFF99 }
+ .good { background-color: #CCFF99 }
+ </style>
+
+.. role:: none
+.. role:: partial
+.. role:: good
+
+.. contents::
+ :local:
+
+==================
+OpenCL Support
+==================
+
+Clang fully supports all OpenCL C versions from 1.1 to 2.0.
+
+Please refer to `Bugzilla
+<https://bugs.llvm.org/buglist.cgi?component=OpenCL&list_id=172679&product=clang&resolution=--->`_
+for the most up to date bug reports.
+
+
+C++ for OpenCL Implementation Status
+====================================
+
+Bugzilla bugs for this functionality are typically prefixed
+with '[C++]'.
+
+Differences to OpenCL C
+-----------------------
+
+TODO!
+
+Missing features or with limited support
+----------------------------------------
+
+- Use of ObjC blocks is disabled.
+
+- Global destructor invocation is not generated correctly.
+
+- Initialization of objects in `__constant` address spaces is not guaranteed to work.
+
+- `addrspace_cast` operator is not supported.
Modified: cfe/trunk/docs/index.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/index.rst?rev=375111&r1=375110&r2=375111&view=diff
==============================================================================
--- cfe/trunk/docs/index.rst (original)
+++ cfe/trunk/docs/index.rst Thu Oct 17 05:56:02 2019
@@ -41,6 +41,7 @@ Using Clang as a Compiler
SourceBasedCodeCoverage
Modules
MSVCCompatibility
+ OpenCLSupport
OpenMPSupport
ThinLTO
CommandGuide/index
More information about the cfe-commits
mailing list