Skip to content

Commit

Permalink
Remove mentions of host platform
Browse files Browse the repository at this point in the history
  • Loading branch information
jchlanda committed Sep 13, 2024
1 parent 34b4aa6 commit 413dd39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,8 @@ specification.*

The implementation of `sycl::platform` already allows querying for supported
platforms - `static std::vector<platform> 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
Expand Down
5 changes: 2 additions & 3 deletions sycl/source/detail/platform_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<platform> get_platforms();
Expand Down

0 comments on commit 413dd39

Please sign in to comment.