From 7c541a195f651aa8d6aa270db83932a6ac7fac78 Mon Sep 17 00:00:00 2001 From: Anastasia Stulova Date: Thu, 1 Apr 2021 13:54:54 +0100 Subject: [PATCH] [OpenCL][Docs] Added a label for C++ libs section and example link --- clang/docs/OpenCLSupport.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/clang/docs/OpenCLSupport.rst b/clang/docs/OpenCLSupport.rst index 8af579a..7ecc4f2 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 `_. -- 2.7.4