summaryrefslogtreecommitdiff
path: root/docs/OpenCLSupport.rst
blob: 62ba890c3a95a923fea63cdcdba96f218678da14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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.