[Openmp-commits] [PATCH] D109007: [libomptarget] Move HostDataToTargetTy states into StatesTy

Ye Luo via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Aug 31 10:57:34 PDT 2021


ye-luo created this revision.
ye-luo added a reviewer: tianshilei1992.
ye-luo requested review of this revision.

Use unique_ptr to achieve the effect of mutable.

Remove mutable keyword of RefCount.
Remove std::shared_ptr from UpdateMtx


https://reviews.llvm.org/D109007

Files:
  openmp/libomptarget/src/device.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109007.369736.patch
Type: text/x-patch
Size: 4747 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210831/67a90a37/attachment-0001.bin>


More information about the Openmp-commits mailing list