[all-commits] [llvm/llvm-project] 7d5763: [OpenMP] Add new execution mode for SPMD execution...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Wed Jul 21 17:57:45 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7d576392644d44a765336f6ebefd45f5db61231e
https://github.com/llvm/llvm-project/commit/7d576392644d44a765336f6ebefd45f5db61231e
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2021-07-21 (Wed, 21 Jul 2021)
Changed paths:
M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
M llvm/test/Transforms/OpenMP/is_spmd_exec_mode_fold.ll
M llvm/test/Transforms/OpenMP/spmdization.ll
M openmp/libomptarget/plugins/amdgpu/src/rtl.cpp
M openmp/libomptarget/plugins/cuda/src/rtl.cpp
Log Message:
-----------
[OpenMP] Add new execution mode for SPMD execution with Generic semantics
Qualified kernels can be transformed from generic-mode to SPMD mode using an
optimization in OpenMPOpt. This patch introduces a new execution mode to
indicate kernels that have been transformed from generic-mode to SPMD-mode.
These kernels have SPMD-mode execution, but need generic-mode semantics for
scheduling the blocks and threads. Without this far too few blocks will be
scheduled for a generic region as SPMD mode expects the trip count to be
divided by the number of threads.
Reviewed By: ggeorgakoudis
Differential Revision: https://reviews.llvm.org/D106460
More information about the All-commits
mailing list