From b9994a56c2e32e76e5a2b1c46115a567b67640d4 Mon Sep 17 00:00:00 2001 From: Roland Schulz Date: Tue, 9 Sep 2025 21:59:57 +0000 Subject: [PATCH] [SYCL][DOC] Remove "default" from "current default device" Avoid confusion between default device and current device. --- .../experimental/sycl_ext_oneapi_current_device.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sycl/doc/extensions/experimental/sycl_ext_oneapi_current_device.asciidoc b/sycl/doc/extensions/experimental/sycl_ext_oneapi_current_device.asciidoc index 1b889b97f13d4..821747d4a2fd5 100755 --- a/sycl/doc/extensions/experimental/sycl_ext_oneapi_current_device.asciidoc +++ b/sycl/doc/extensions/experimental/sycl_ext_oneapi_current_device.asciidoc @@ -106,7 +106,7 @@ sycl::device get_current_device(); ---- !==== -_Returns:_ The current default device for the calling host thread. If +_Returns:_ The current device for the calling host thread. If `set_current_device()` has not been called by this thread, returns the device selected by the default device selector. @@ -128,7 +128,7 @@ void set_current_device(sycl::device dev); ---- !==== -_Effects:_ Sets the current default device to `dev` for the calling host thread. +_Effects:_ Sets the current device to `dev` for the calling host thread. _Preconditions:_ The function is called from a host thread, executing outside of a host task or an asynchronous error handler.