[Openmp-commits] [PATCH] D110845: [libomptarget] Apply D110029 to amdgpu

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Sep 30 09:01:24 PDT 2021


JonChesterfield created this revision.
JonChesterfield added reviewers: jdoerfert, tianshilei1992, jhuber6, carlo.bertolli.
Herald added subscribers: kerbowa, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
JonChesterfield requested review of this revision.
Herald added subscribers: openmp-commits, sstefan1, wdng.
Herald added a project: OpenMP.

Use enum for execution mode.

This is partly a port from ROCm and partly a port from D110029 <https://reviews.llvm.org/D110029>. Attempted to
make the same choices as ROCm as far as comments etc go to reduce the merge
conflicts.

There is some cleanup warranted here - in particular I like the cuda patch
factoring our the comparisons into named variables - but I'd like to leave
that for a follow up patch, keeping this one minimal.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D110845

Files:
  openmp/libomptarget/plugins/amdgpu/src/rtl.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110845.376242.patch
Type: text/x-patch
Size: 8168 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210930/38d7b080/attachment-0001.bin>


More information about the Openmp-commits mailing list