[Openmp-commits] [PATCH] D139208: [OpenMP][libomptarget][AMDGPU] lock/unlock (pin/unpin) mechanism in libomptarget amdgpu plugin (API and implementation)

Kevin Sala Penadés via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Jan 17 07:54:43 PST 2023


kevinsala added a comment.

@carlo.bertolli is there documentation regarding `llvm_omp_target_lock_mem` `llvm_omp_target_unlock_mem`? While reading the comments of this patch, I see that the API ensures that locked areas feature reference counting. But I have the following doubts. Should the API support locking memory buffers that were already locked (e.g., complete or partial overlapping)? What's the behavior in such a case?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139208/new/

https://reviews.llvm.org/D139208



More information about the Openmp-commits mailing list