[all-commits] [llvm/llvm-project] 289a10: [libomptarget] Move HostDataToTargetTy states into...

Ye Luo via All-commits all-commits at lists.llvm.org
Wed Sep 1 21:49:16 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 289a1089cd1f109b44df7eebc66863b58e0b5258
      https://github.com/llvm/llvm-project/commit/289a1089cd1f109b44df7eebc66863b58e0b5258
  Author: Ye Luo <yeluo at anl.gov>
  Date:   2021-09-01 (Wed, 01 Sep 2021)

  Changed paths:
    M openmp/libomptarget/src/device.h

  Log Message:
  -----------
  [libomptarget] Move HostDataToTargetTy states into StatesTy

Use unique_ptr to achieve the effect of mutable.

Remove mutable keyword of DynRefCount and HoldRefCount
Remove std::shared_ptr from UpdateMtx

Reviewed By: tianshilei1992, grokos

Differential Revision: https://reviews.llvm.org/D109007




More information about the All-commits mailing list