[libomptarget] Deprecate old method for setting the tripcount
authorJoseph Huber <jhuber6@vols.utk.edu>
Mon, 29 Aug 2022 20:38:20 +0000 (15:38 -0500)
committerJoseph Huber <jhuber6@vols.utk.edu>
Tue, 30 Aug 2022 01:08:26 +0000 (20:08 -0500)
commitdc400f8612a2c7e85fe297c1cde4f0ed01376611
tree6a0b7f1391c07f249ef500b2e9619362e8577d18
parented4e95c1f68abe8fffe8b54139d268924d554381
[libomptarget] Deprecate old method for setting the tripcount

Previously, the tripcount was set by a push call. We moved away from
this with the new interface that added the tripcount to the kernel
arguments struct, but kept around the old interface for legacy purposes
for the LLVM 15 release. This patch removes the support for the legacy
method.

This removes the support for the old method, but does not break
backwards compatibility. This will result in applications using the old
interface being slower when run on the device.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D132885
openmp/libomptarget/include/device.h
openmp/libomptarget/src/LegacyAPI.cpp
openmp/libomptarget/src/omptarget.cpp