[Openmp-commits] [PATCH] D69423: [NFC] [libomptarget] Move option.h into target_impl.h, name a magic number

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Oct 24 22:58:45 PDT 2019


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

[NFC] [libomptarget] Move option.h into target_impl.h, name a magic number

Essentially everything under option.h is target dependent. This change moves the
existing code and names a mask that depends on the warp/wavefront size.

The macros could be changed to enums / functions / deleted subsequently.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D69423

Files:
  openmp/libomptarget/deviceRTLs/nvptx/src/debug.h
  openmp/libomptarget/deviceRTLs/nvptx/src/omptarget-nvptx.h
  openmp/libomptarget/deviceRTLs/nvptx/src/option.h
  openmp/libomptarget/deviceRTLs/nvptx/src/state-queue.h
  openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69423.226378.patch
Type: text/x-patch
Size: 6583 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20191025/71238bf4/attachment.bin>


More information about the Openmp-commits mailing list