diff --git a/clang/docs/OpenCLSupport.rst b/clang/docs/OpenCLSupport.rst index 8af579a082a97..7ecc4f2bed0ab 100644 --- a/clang/docs/OpenCLSupport.rst +++ b/clang/docs/OpenCLSupport.rst @@ -398,6 +398,8 @@ Feel free to contact us on `cfe-dev `_ or via `Bugzilla `__. +.. _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/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 `_.