[libomptarget] Remove unused image from global data movement function
authorJoseph Huber <jhuber6@vols.utk.edu>
Mon, 20 Feb 2023 23:03:28 +0000 (17:03 -0600)
committerJoseph Huber <jhuber6@vols.utk.edu>
Tue, 21 Feb 2023 13:09:36 +0000 (07:09 -0600)
commit22d618f543cbd5b03f0da1ecf32fd121d61e4dc5
treefda6d40211d27023f06d4c8d6281b7a64171bf9c
parentb068c87f182dbfa972bdb2f4fe0615232d0da085
[libomptarget] Remove unused image from global data movement function

This interface function does not actually need the device image type.
It's unused in the function, so it should be able to be safely removed.
The motivation for this is to facilitate downsteam porting of the
amd-stg-open RPC module into the nextgen plugin so we can delete the old
plugin entirely. For that to work we need to be able to call this
function at kernel-launch time, which doesn't have the image. Also it's
cleaner.

Reviewed By: jplehr

Differential Revision: https://reviews.llvm.org/D144436
openmp/libomptarget/plugins-nextgen/common/PluginInterface/GlobalHandler.cpp
openmp/libomptarget/plugins-nextgen/common/PluginInterface/GlobalHandler.h