forked from OSchip/llvm-project
[OpenCL][Docs] Added a label for C++ libs section and example link
This commit is contained in:
parent
bad5ee15ea
commit
7c541a195f
|
@ -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>`_.
|
||||
|
|
Loading…
Reference in New Issue