@@ -22,18 +22,18 @@ Possible values:
2222- ` dpcpp-0.8 ` : corresponds to DPC++ version documented in oneAPI 0.8
2323
2424 Basically, ` -sycl-std=dpcpp-0.8 ` implies support for SYCL 1.2.1 specification
25- and bunch of extension enabled .
25+ plus several extensions .
2626
2727 See [ oneAPI Specification] for more details and the specification text.
2828
2929[ SYCL Registry ] : https://www.khronos.org/registry/SYCL/
3030[ oneAPI Specification ] : https://spec.oneapi.com/
3131
3232Note: ` -sycl-std ` ** doesn't** imply any C++ standard version to be set,
33- which means that some default value will be selected . If by some reason, that
34- default version is not a desired one, it is possible to change C++ version
35- independently of SYCL/DPC++ standard version via specifying additional option:
36- ` -sycl-std=1.2.1 -std=c++14 ` , for example.
33+ which means that the same default value as for C++ source is used . If by some
34+ reason, that default version is not a desired one, it is possible to change C++
35+ version independently of SYCL/DPC++ standard version via specifying additional
36+ option: ` -sycl-std=1.2.1 -std=c++14 ` , for example.
3737
3838If SYCL/DPC++ standard version and C++ standard version (either default value
3939for the compiler or one which was explicitly set via ` -std ` ) are incompatible,
@@ -51,9 +51,10 @@ Supported values (besides listed in clang documentation/help):
5151- ` dpcpp-0.8 ` : corresponds to ` -sycl-std=dpcpp-0.8 `
5252
5353Note: setting SYCL or DPC++ standard version via ` -std ` option automatically
54- implies some C++ standard version to be set, according to requirements of
55- corresponding SYCL/DPC++ specification. For example, for SYCL 1.2.1 it would be
56- at least C++11, while for DPC++ 0.8 it would be C++17.
54+ implies some C++ standard version to be set: it is the larger of the default C++
55+ version of a compiler and the minimum required version by SYCL/DPC++ spec.
56+ For example, for SYCL 1.2.1 it would be C++14 with current clang version, while
57+ for DPC++ 0.8 it would be C++17.
5758
5859Please note that if you specify ` -std ` flag several times, only the last
5960value takes effect. This means, that if you want to specify a particular C++
0 commit comments