[all-commits] [llvm/llvm-project] ddfb07: [libomptarget][nfc] Group environment variables, d...

Jon Chesterfield via All-commits all-commits at lists.llvm.org
Tue Jul 6 09:07:00 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ddfb074a80a24f94290d895b74d2c80626d953ba
      https://github.com/llvm/llvm-project/commit/ddfb074a80a24f94290d895b74d2c80626d953ba
  Author: Jon Chesterfield <jonathanchesterfield at gmail.com>
  Date:   2021-07-06 (Tue, 06 Jul 2021)

  Changed paths:
    M openmp/libomptarget/plugins/amdgpu/src/rtl.cpp

  Log Message:
  -----------
  [libomptarget][nfc] Group environment variables, drop accesses to DeviceInfo global

[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

Reviewed By: dhruvachak

Differential Revision: https://reviews.llvm.org/D105239




More information about the All-commits mailing list