[llvm] [libsycl] add heuristics to prefer devices with compatible images (PR #203530)

Kseniya Tikhomirova via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 15 03:44:13 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();
----------------
KseniyaTikhomirova wrote:

I think that we may need it once shutdown logic becomes more complicated. It would be bad to duplicate this in UT and core impl later. 

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


More information about the llvm-commits mailing list