[llvm] [SYCL] Add platform enumeration and info query using liboffload (PR #166927)

Piotr Balcer via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 20 06:15:57 PST 2025


================
@@ -0,0 +1,65 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include <detail/offload/offload_utils.hpp>
----------------
pbalcer wrote:

I think these APIs should become liboffload entry points. I'll add that to my TODO list.

https://github.com/llvm/llvm-project/pull/166927


More information about the llvm-commits mailing list