[llvm] [libsycl] add USM alloc/free functions (PR #184111)

Sergey Semenov via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 5 09:57:33 PST 2026


================
@@ -16,6 +16,19 @@
 #include <mutex>
 #include <vector>
 
+// +++ Entry points referenced by the offload wrapper object {
+
+/// Executed as a part of current module's (.exe, .dll) static initialization.
+/// Registers device executable images with the runtime.
+extern "C" _LIBSYCL_EXPORT void __sycl_register_lib(void *);
----------------
sergey-semenov wrote:

Adding these seems to be unrelated to this PR.

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


More information about the llvm-commits mailing list