From 413dd3904e5879f715e6b461634a9d1f25445346 Mon Sep 17 00:00:00 2001 From: Jakub Chlanda Date: Fri, 13 Sep 2024 10:16:24 +0000 Subject: [PATCH] Remove mentions of host platform --- .../sycl_ext_oneapi_get_unsupported_platforms.asciidoc | 5 ++--- sycl/source/detail/platform_impl.hpp | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/sycl/doc/extensions/experimental/sycl_ext_oneapi_get_unsupported_platforms.asciidoc b/sycl/doc/extensions/experimental/sycl_ext_oneapi_get_unsupported_platforms.asciidoc index d2d0aca502d7e..2ebce1d5c0867 100644 --- a/sycl/doc/extensions/experimental/sycl_ext_oneapi_get_unsupported_platforms.asciidoc +++ b/sycl/doc/extensions/experimental/sycl_ext_oneapi_get_unsupported_platforms.asciidoc @@ -55,9 +55,8 @@ specification.* The implementation of `sycl::platform` already allows querying for supported platforms - `static std::vector get_platforms()` - which returns all -available SYCL platforms in the system (the resulting vector always contains a -single SYCL host platform instance). This extension adds an API entry to list -all unsupported platforms; the platform is considered unsupported if it is +available SYCL platforms in the system. This extension adds an API entry to +list all unsupported platforms; the platform is considered unsupported if it is non-SYCL, or does not have any devices associated. This extension exists to solve a specific problem: listing of all platforms diff --git a/sycl/source/detail/platform_impl.hpp b/sycl/source/detail/platform_impl.hpp index 41be819e0e133..ba78ac5eb58b1 100644 --- a/sycl/source/detail/platform_impl.hpp +++ b/sycl/source/detail/platform_impl.hpp @@ -117,9 +117,8 @@ class platform_impl { /// Returns all available SYCL platforms in the system. /// - /// By default the resulting vector always contains a single SYCL host - /// platform instance. There are means to override this behavior for testing - /// purposes. See environment variables guide for up-to-date instructions. + /// There are means to override this behavior for testing purposes. See + /// environment variables guide for up-to-date instructions. /// /// \return a vector of all available SYCL platforms. static std::vector get_platforms();