[OpenCL][Docs] Added a label for C++ libs section and example link
authorAnastasia Stulova <anastasia.stulova@arm.com>
Thu, 1 Apr 2021 12:54:54 +0000 (13:54 +0100)
committerAnastasia Stulova <anastasia.stulova@arm.com>
Thu, 1 Apr 2021 12:55:23 +0000 (13:55 +0100)
clang/docs/OpenCLSupport.rst

index 8af579a..7ecc4f2 100644 (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>`_.