[PATCH] D69072: [OpenCL] Added doc to describe OpenCL support
Sven van Haastregt via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 17 06:03:31 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rG5e962e8d7dc7: [OpenCL] Add doc to describe OpenCL support (authored by svenvh).
Herald added a project: clang.
Changed prior to commit:
https://reviews.llvm.org/D69072?vs=225391&id=225413#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69072/new/
https://reviews.llvm.org/D69072
Files:
clang/docs/OpenCLSupport.rst
clang/docs/index.rst
Index: clang/docs/index.rst
===================================================================
--- clang/docs/index.rst
+++ clang/docs/index.rst
@@ -41,6 +41,7 @@
SourceBasedCodeCoverage
Modules
MSVCCompatibility
+ OpenCLSupport
OpenMPSupport
ThinLTO
CommandGuide/index
Index: clang/docs/OpenCLSupport.rst
===================================================================
--- /dev/null
+++ clang/docs/OpenCLSupport.rst
@@ -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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69072.225413.patch
Type: text/x-patch
Size: 1559 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191017/0a8e5bb7/attachment-0001.bin>
More information about the cfe-commits
mailing list