[all-commits] [llvm/llvm-project] 22d618: [libomptarget] Remove unused image from global dat...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Feb 21 05:09:53 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22d618f543cbd5b03f0da1ecf32fd121d61e4dc5
      https://github.com/llvm/llvm-project/commit/22d618f543cbd5b03f0da1ecf32fd121d61e4dc5
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

  Changed paths:
    M openmp/libomptarget/plugins-nextgen/common/PluginInterface/GlobalHandler.cpp
    M openmp/libomptarget/plugins-nextgen/common/PluginInterface/GlobalHandler.h

  Log Message:
  -----------
  [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




More information about the All-commits mailing list