[llvm] [OFFLOAD] Add missing interop API for libomptarget migration (PR #172951)
Kevin Sala Penades via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 18 20:52:17 PST 2025
================
@@ -1214,5 +1214,58 @@ Error olLaunchHostFunction_impl(ol_queue_handle_t Queue,
Queue->AsyncInfo);
}
+Error olCreateInterop_impl(ol_device_handle_t Device, int32_t InteropContext, void *InteropSpec,
+ void **Interop) {
+ auto Rc = Device->Device->createInterop(InteropContext,
----------------
kevinsala wrote:
I believe the OpenMP interop layer should be implemented in the libomptarget side. Then, you can implement those interop operations using lower level device operations (i.e., using existing liboffload routines).
https://github.com/llvm/llvm-project/pull/172951
More information about the llvm-commits
mailing list