[llvm] [OFFLOAD] Add memory data locking API for libomptarget migration (PR #173138)

via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 22 18:40:35 PST 2025


================
@@ -131,3 +131,27 @@ def olMemFill : Function {
     Return<"OL_ERRC_INVALID_SIZE", ["`FillSize % PatternSize != 0`"]>
   ];
 }
+
+def olMemDataLock : Function {
+  let desc = "Locks / pins host memory using the plugin runtime.";
----------------
fineg74 wrote:

Added more API description

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


More information about the llvm-commits mailing list