Skip to content

Commit

Permalink
[SYCL] adjusting notes after 121/2017 std removal
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiZibrov committed Jul 12, 2024
1 parent 40e29ca commit 8511c07
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions sycl/doc/UsersManual.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,8 @@ and not recommended to use in production environment.

**`-sycl-std=<value>`** [EXPERIMENTAL]

SYCL language standard to compile for. Possible values:
* 121 - SYCL 1.2.1 [DEPRECATED]
* 2020 - SYCL 2020
SYCL language standard to compile for. Currently the possible value is:
* 2020 - for SYCL 2020
It doesn't guarantee specific standard compliance, but some selected
compiler features change behavior.
It is under development and not recommended to use in production
Expand All @@ -148,7 +147,7 @@ and not recommended to use in production environment.

Enables/Disables unnamed SYCL lambda kernels support.
The default value depends on the SYCL language standard: it is enabled
by default for SYCL 2020, and disabled for SYCL 1.2.1.
by default for SYCL 2020.

**`-f[no-]sycl-explicit-simd`** [DEPRECATED]

Expand Down
2 changes: 1 addition & 1 deletion sycl/doc/design/CompilerAndRuntimeDesign.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ assumed, and single device compiler for this target is invoked.

The option `-sycl-std` allows specifying which version of
the SYCL standard will be used for the compilation.
The default value for this option is `1.2.1`.
The default value for this option is `2020`.

#### Ahead of time (AOT) compilation

Expand Down
2 changes: 1 addition & 1 deletion sycl/test-e2e/Sampler/basic-rw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Use it as a base file for testing any condition.
clang++ -fsycl -sycl-std=121 -o binx.bin basic-rw.cpp
clang++ -fsycl -o binx.bin basic-rw.cpp
ONEAPI_DEVICE_SELECTOR=opencl:gpu ./binx.bin
ONEAPI_DEVICE_SELECTOR=level_zero:gpu ./binx.bin
Expand Down

0 comments on commit 8511c07

Please sign in to comment.