Use unique_ptr to achieve the effect of mutable.
Remove mutable keyword of DynRefCount and HoldRefCount
Remove std::shared_ptr from UpdateMtx
Paths
| Differential D109007
[libomptarget] Move HostDataToTargetTy states into StatesTy ClosedPublic Authored by ye-luo on Aug 31 2021, 10:57 AM.
Details Summary Use unique_ptr to achieve the effect of mutable. Remove mutable keyword of DynRefCount and HoldRefCount
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 31 2021, 11:56 AM ye-luo marked an inline comment as done. This revision was landed with ongoing or failed builds.Sep 1 2021, 9:49 PM Closed by commit rG289a1089cd1f: [libomptarget] Move HostDataToTargetTy states into StatesTy (authored by ye-luo). · Explain Why This revision was automatically updated to reflect the committed changes. Comment Actions Devicety assignment operator now fails to compile due to HostDataToTargetTy members constified (clang/libc++) Comment Actions
D109276 should solve this issue.
Diff 370157 openmp/libomptarget/src/device.h
|
Outdated comment, RefCount is no longer mutable.