[all-commits] [llvm/llvm-project] 4aa87a: [OpenMP][AMDGPU] Add 'uniform-work-group' attribut...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Thu Oct 6 16:22:28 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4aa87a131f93de73b8e245021af0294545d063c5
https://github.com/llvm/llvm-project/commit/4aa87a131f93de73b8e245021af0294545d063c5
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2022-10-06 (Thu, 06 Oct 2022)
Changed paths:
M clang/lib/CodeGen/TargetInfo.cpp
M clang/test/OpenMP/amdgcn-attributes.cpp
Log Message:
-----------
[OpenMP][AMDGPU] Add 'uniform-work-group' attribute to OpenMP kernels
The `cl-uniform-work-group` attribute asserts that the global work-size
be a multiple of the work-group specified work group size. This should
allow optimizations. It is already present by default in the AMD
compiler and for HIP kernels so it should be safe to allow this for
OpenMP kernels by default.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D135374
More information about the All-commits
mailing list