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

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Oct 31 17:03:50 PDT 2019


JonChesterfield created this revision.
JonChesterfield added reviewers: ABataev, jdoerfert, grokos.
Herald added a project: OpenMP.
Herald added a subscriber: openmp-commits.

[nfc][omptarget] Use builtin var abstraction. Second pass at D69476 <https://reviews.llvm.org/D69476>

Use the wrappers in support.h for cuda builtin variables at all call sites.
Localises use of cuda and removes WARPSIZE==32 assumption in debug.h.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D69693

Files:
  openmp/libomptarget/deviceRTLs/nvptx/src/data_sharing.cu
  openmp/libomptarget/deviceRTLs/nvptx/src/debug.h
  openmp/libomptarget/deviceRTLs/nvptx/src/libcall.cu
  openmp/libomptarget/deviceRTLs/nvptx/src/support.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69693.227379.patch
Type: text/x-patch
Size: 5645 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20191101/3f41a55e/attachment.bin>


More information about the Openmp-commits mailing list