[Openmp-commits] [PATCH] D70186: [libomptarget][nfc] Use cuda variable wrappers from support.h

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Nov 13 08:08:43 PST 2019


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

[libomptarget][nfc] Use cuda variable wrappers from support.h
Reimplementation of D69693 <https://reviews.llvm.org/D69693>, after the revert of D69885 <https://reviews.llvm.org/D69885>

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/D70186

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: D70186.229105.patch
Type: text/x-patch
Size: 5645 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20191113/76560804/attachment.bin>


More information about the Openmp-commits mailing list