[llvm] [libsycl] add heuristics to prefer devices with compatible images (PR #203530)
Sergey Semenov via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 15 06:39:10 PDT 2026
================
@@ -45,6 +46,10 @@ std::vector<std::unique_ptr<PlatformImpl>> &getPlatformCache();
// the SYCL shared library is first being unloaded.
void registerStaticVarShutdownHandler();
+// Releases all global objects related to liboffload. Used for unittests
+// purposes.
+void releaseOffloadObjects();
----------------
sergey-semenov wrote:
Then I'd prefer to have it moved to libsycl headers once it's needed there.
https://github.com/llvm/llvm-project/pull/203530
More information about the llvm-commits
mailing list