[OpenMP] Add additional fields to device environment
authorJoseph Huber <jhuber6@vols.utk.edu>
Thu, 16 Sep 2021 18:42:14 +0000 (14:42 -0400)
committerJoseph Huber <jhuber6@vols.utk.edu>
Sat, 18 Sep 2021 01:25:32 +0000 (21:25 -0400)
commitec02c34b6df1efc643e5889bf3f181d55c4fed38
treedc209bc2f17639ea02a37320f5d0198f83ec923c
parentb266bcb13557f6a9fcf58a2d2be271a631aee72f
[OpenMP] Add additional fields to device environment

This patch adds fields for the device number and number of devices into
the device environment struct and debugging values.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D110004
openmp/libomptarget/DeviceRTL/include/Configuration.h
openmp/libomptarget/DeviceRTL/src/Configuration.cpp
openmp/libomptarget/deviceRTLs/common/device_environment.h
openmp/libomptarget/plugins/cuda/src/rtl.cpp