[llvm] [libsycl] add sycl_khr_default_context (PR #216863)
Kseniya Tikhomirova via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 19 03:58:51 PDT 2026
================
@@ -99,6 +102,11 @@ class _LIBSYCL_EXPORT platform {
/// that are available in the system.
static std::vector<platform> get_platforms();
+ /// Returns a copy of the default context object for this platform.
+ ///
+ /// \return the default context
----------------
KseniyaTikhomirova wrote:
I would replace whole comment block with
/// \return the context that contains all of the root devices that are associated with this platform.
https://github.com/llvm/llvm-project/pull/216863
More information about the llvm-commits
mailing list