[Openmp-commits] [PATCH] D69693: [nfc][omptarget] Use builtin var abstraction. Second pass at D69476

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Oct 31 17:49:11 PDT 2019


jdoerfert accepted this revision.
jdoerfert added a comment.
This revision is now accepted and ready to land.

LGTM.



================
Comment at: openmp/libomptarget/deviceRTLs/nvptx/src/data_sharing.cu:20
-INLINE static unsigned getLaneId() { return threadIdx.x % WARPSIZE; }
-
 // Return true if this is the first active thread in the warp.
----------------
Less duplication, great!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69693





More information about the Openmp-commits mailing list