[all-commits] [llvm/llvm-project] dc400f: [libomptarget] Deprecate old method for setting th...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Aug 29 18:08:47 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc400f8612a2c7e85fe297c1cde4f0ed01376611
      https://github.com/llvm/llvm-project/commit/dc400f8612a2c7e85fe297c1cde4f0ed01376611
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-08-29 (Mon, 29 Aug 2022)

  Changed paths:
    M openmp/libomptarget/include/device.h
    M openmp/libomptarget/src/LegacyAPI.cpp
    M openmp/libomptarget/src/omptarget.cpp

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




More information about the All-commits mailing list