[llvm] 85eedf7 - [openmp] Delete unused grid value field, missed from D108380
Jon Chesterfield via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 25 07:54:45 PDT 2021
Author: Jon Chesterfield
Date: 2021-08-25T15:54:25+01:00
New Revision: 85eedf7acb81eae04ec16dfea70eaa5539d7da8c
URL: https://github.com/llvm/llvm-project/commit/85eedf7acb81eae04ec16dfea70eaa5539d7da8c
DIFF: https://github.com/llvm/llvm-project/commit/85eedf7acb81eae04ec16dfea70eaa5539d7da8c.diff
LOG: [openmp] Delete unused grid value field, missed from D108380
Added:
Modified:
llvm/include/llvm/Frontend/OpenMP/OMPGridValues.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Frontend/OpenMP/OMPGridValues.h b/llvm/include/llvm/Frontend/OpenMP/OMPGridValues.h
index 2130b9bf91cd..f5674e443b67 100644
--- a/llvm/include/llvm/Frontend/OpenMP/OMPGridValues.h
+++ b/llvm/include/llvm/Frontend/OpenMP/OMPGridValues.h
@@ -55,9 +55,6 @@ namespace omp {
///
struct GV {
- /// The maximum number of workers in a kernel.
- /// (THREAD_ABSOLUTE_LIMIT) - (GV_Warp_Size), might be issue for blockDim.z
- const unsigned GV_Threads;
/// The size reserved for data in a shared memory slot.
const unsigned GV_Slot_Size;
/// The default value of maximum number of threads in a worker warp.
@@ -85,7 +82,6 @@ struct GV {
/// For AMDGPU GPUs
static constexpr GV AMDGPUGridValues = {
- 448, // GV_Threads
256, // GV_Slot_Size
64, // GV_Warp_Size
128, // GV_Max_Teams
@@ -96,7 +92,6 @@ static constexpr GV AMDGPUGridValues = {
/// For Nvidia GPUs
static constexpr GV NVPTXGridValues = {
- 992, // GV_Threads
256, // GV_Slot_Size
32, // GV_Warp_Size
1024, // GV_Max_Teams
More information about the llvm-commits
mailing list