[all-commits] [llvm/llvm-project] 566ecc: [Libomptarget][NFC] Rename device environment vari...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Jan 17 12:28:20 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 566ecc223165905ad1e012dc9b847694fb1f8fdb
      https://github.com/llvm/llvm-project/commit/566ecc223165905ad1e012dc9b847694fb1f8fdb
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-01-17 (Tue, 17 Jan 2023)

  Changed paths:
    M openmp/libomptarget/DeviceRTL/src/Configuration.cpp
    M openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp
    M openmp/libomptarget/plugins/amdgpu/src/rtl.cpp
    M openmp/libomptarget/plugins/cuda/src/rtl.cpp

  Log Message:
  -----------
  [Libomptarget][NFC] Rename device environment variable

This variable is used by the runtime. Before kernel launch we set it to
indicate several configuration options from the host. This patch renames
it to be more in-line with the rest of the named exported from the
runtime. This is better because this is the only symbol visible to the
host from the runtime, so it should have a reserved name.

Reviewed By: tianshilei1992

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




More information about the All-commits mailing list