[Libomptarget][NFC] Rename device environment variable
authorJoseph Huber <jhuber6@vols.utk.edu>
Tue, 17 Jan 2023 20:09:12 +0000 (14:09 -0600)
committerJoseph Huber <jhuber6@vols.utk.edu>
Tue, 17 Jan 2023 20:28:04 +0000 (14:28 -0600)
commit566ecc223165905ad1e012dc9b847694fb1f8fdb
tree3f59ff3c6b44dfead5efb28f468c6e6259bf8256
parent4ce454c654bd4e027fbdcd7b1dba9d164cd36463
[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
openmp/libomptarget/DeviceRTL/src/Configuration.cpp
openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp
openmp/libomptarget/plugins/amdgpu/src/rtl.cpp
openmp/libomptarget/plugins/cuda/src/rtl.cpp