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

Kseniya Tikhomirova via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 12 07:10:44 PDT 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 *);
----------------
KseniyaTikhomirova wrote:

yes, but otherwise test can't be built. and any application with this SYCL library as well. linker error.

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


More information about the llvm-commits mailing list