[Openmp-commits] [PATCH] D128817: [Libomptarget] Use new tripcount argument in the runtime.

Joseph Huber via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Jun 29 06:24:12 PDT 2022


jhuber6 created this revision.
jhuber6 added reviewers: jdoerfert, tianshilei1992, JonChesterfield.
Herald added a project: All.
jhuber6 requested review of this revision.
Herald added subscribers: openmp-commits, sstefan1.
Herald added a project: OpenMP.

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 <https://reviews.llvm.org/D128816>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D128817

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128817.440982.patch
Type: text/x-patch
Size: 7752 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20220629/7d570e62/attachment.bin>


More information about the Openmp-commits mailing list