[Openmp-commits] [PATCH] D105239: [libomptarget][nfc] Group environment variables, drop accesses to DeviceInfo global

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Jun 30 15:52:47 PDT 2021


JonChesterfield created this revision.
JonChesterfield added reviewers: gregrodgers, ronlieb, dhruvachak, pdhaliwal.
Herald added subscribers: kerbowa, nhaehnle, jvesely.
JonChesterfield requested review of this revision.
Herald added a project: OpenMP.
Herald added a subscriber: openmp-commits.

[libomptarget][nfc] Group environment variables, drop accesses to DeviceInfo global

Folds some duplicates logic into a helper function, passes the new environment
struct into getLaunchVals which no longer reads the DeviceInfo global.

Implemented on top of D105237 <https://reviews.llvm.org/D105237>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D105239

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105239.355707.patch
Type: text/x-patch
Size: 10743 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210630/dd3192b1/attachment-0001.bin>


More information about the Openmp-commits mailing list