[Openmp-commits] [PATCH] D132532: [libomptarget] Avoid deleting the same entry multiple times

Ye Luo via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Aug 23 22:44:12 PDT 2022


ye-luo created this revision.
Herald added a project: All.
ye-luo requested review of this revision.
Herald added a project: OpenMP.
Herald added a subscriber: openmp-commits.

Once refcount drops to 0, remove the entry from the HDTTMap but delay the deletion of the actual entry.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D132532

Files:
  openmp/libomptarget/include/device.h
  openmp/libomptarget/src/device.cpp
  openmp/libomptarget/src/omptarget.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132532.455076.patch
Type: text/x-patch
Size: 9435 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20220824/f0c27f7d/attachment.bin>


More information about the Openmp-commits mailing list