[OpenMP] Add an information flag for device data transfers
authorJoseph Huber <jhuber6@vols.utk.edu>
Tue, 8 Jun 2021 20:43:59 +0000 (16:43 -0400)
committerHuber, Joseph <huberjn@ornl.gov>
Wed, 9 Jun 2021 00:23:27 +0000 (20:23 -0400)
commitdf965513a9aa0cbf0d20e8458fa07577f58e112d
tree1dff3ae170e1205c3fd3576e1bd409aa06ee948e
parentf9649d123db64e38bce7bcb4cc5791239820f3e2
[OpenMP] Add an information flag for device data transfers

This patch adds an information flag that indicated when data is being copied to
and from the device. This will be helpful for finding redundant or unnecessary
data transfers in applications.

Reviewed By: jdoerfert, grokos

Differential Revision: https://reviews.llvm.org/D103927
openmp/docs/design/Runtimes.rst
openmp/libomptarget/include/Debug.h
openmp/libomptarget/src/device.cpp
openmp/libomptarget/test/offloading/info.c