[OpenCL][Docs] Added a label for C++ libs section and example link

This commit is contained in:
Anastasia Stulova 2021-04-01 13:54:54 +01:00
parent bad5ee15ea
commit 7c541a195f
1 changed files with 4 additions and 1 deletions

View File

@ -398,6 +398,8 @@ Feel free to contact us on `cfe-dev
<https://lists.llvm.org/mailman/listinfo/cfe-dev>`_ or via `Bugzilla
<https://bugs.llvm.org/>`__.
.. _opencl_experimenal_cxxlibs:
C++ libraries for OpenCL
------------------------
@ -441,4 +443,5 @@ The possible clang invocation to compile the example is as follows:
$ clang -cl-std=clc++ -I<path to libcxx checkout or installation>/include test.cl
Note that `type_traits` is a header only library and therefore no extra
linking step against the standard libraries is required.
linking step against the standard libraries is required. See full example
in `Compiler Explorer <https://godbolt.org/z/5WbnTfb65>`_.