[PATCH] D98832: [libomptarget] Tune the number of teams and threads for kernel launch.

Dhruva Chakrabarti via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 17 17:52:09 PDT 2021


dhruvachak created this revision.
dhruvachak added reviewers: JonChesterfield, jdoerfert, ronlieb.
Herald added subscribers: kerbowa, nhaehnle, jvesely.
dhruvachak requested review of this revision.
Herald added projects: OpenMP, LLVM.
Herald added a subscriber: openmp-commits.

Change the default number of teams.

Based on kernel register usage, adjust the number of threads in a team.

Includes a corner case fix.

This change is dependent on https://reviews.llvm.org/D98829


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D98832

Files:
  llvm/include/llvm/Frontend/OpenMP/OMPGridValues.h
  openmp/libomptarget/plugins/amdgpu/src/rtl.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98832.331423.patch
Type: text/x-patch
Size: 3993 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210318/2d76cc9a/attachment.bin>


More information about the llvm-commits mailing list