OpenCL Support — Clang 10 documentation

# Clang 10 documentation

## OpenCL Support

- OpenCL Support

  - C++ for OpenCL Implementation Status

    - Differences to OpenCL C

    - Missing features or with limited support

# OpenCL Support

Clang fully supports all OpenCL C versions from 1.1 to 2.0.

Please refer to Bugzilla 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.