[Openmp-commits] [PATCH] D103600: [AMDGPU][Libomptarget] Rework logic for locating kernarg pools

Pushpinder Singh via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Jun 3 02:10:36 PDT 2021


pdhaliwal created this revision.
pdhaliwal added reviewers: ronlieb, JonChesterfield.
Herald added subscribers: kerbowa, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
pdhaliwal requested review of this revision.
Herald added subscribers: openmp-commits, wdng.
Herald added a project: OpenMP.

Previous logic was to always use the first kernarg pool found to allocate
kernel args. This patch changes this to use only the kernarg pool which
has non-zero size. This logic is also reworked to not use any globals.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D103600

Files:
  openmp/libomptarget/plugins/amdgpu/impl/internal.h
  openmp/libomptarget/plugins/amdgpu/impl/system.cpp
  openmp/libomptarget/plugins/amdgpu/src/rtl.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103600.349493.patch
Type: text/x-patch
Size: 8610 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210603/4db9651f/attachment-0001.bin>


More information about the Openmp-commits mailing list