[Libomptarget] Use new tripcount argument in the runtime.
authorJoseph Huber <jhuber6@vols.utk.edu>
Mon, 27 Jun 2022 16:26:58 +0000 (12:26 -0400)
committerJoseph Huber <jhuber6@vols.utk.edu>
Fri, 8 Jul 2022 18:44:19 +0000 (14:44 -0400)
commitc9353eb4bcf8180446d8401796527fe7790ba23c
treef39ed7e20f968ed735e4ab7f5d62e15aca93b407
parent5300263c70da4b3a56726ad031da004e8ce8004f
[Libomptarget] Use new tripcount argument in the runtime.

The previous patch added an argument to the `__tgt_target_kernel`
runtime function which includes the tripcount used for the loop clause.
This was originally passed in via the `__kmpc_push_target_tripcount`
function. Now we move this logic to the kernel launch itself and remove
the need for the push function.

Depends on D128816

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D128817
openmp/libomptarget/include/omptarget.h
openmp/libomptarget/src/interface.cpp
openmp/libomptarget/src/omptarget.cpp
openmp/libomptarget/src/private.h
openmp/libomptarget/src/rtl.cpp