diff options
author | Konstantin Zhuravlyov <kzhuravl_dev@outlook.com> | 2017-10-18 17:31:09 +0000 |
---|---|---|
committer | Konstantin Zhuravlyov <kzhuravl_dev@outlook.com> | 2017-10-18 17:31:09 +0000 |
commit | 28cb7901b7b2ded05fca10170f4b984d13ffdb04 (patch) | |
tree | b1a58755a4ba79719a92094ea1a1349461770804 /include | |
parent | afea6f4cd3a6319cb38d6787376b392f9e0e23bb (diff) | |
download | llvm-28cb7901b7b2ded05fca10170f4b984d13ffdb04.tar.gz |
AMDGPU: Rename MaxFlatWorkgroupSize to MaxFlatWorkGroupSize for consistency
Differential Revision: https://reviews.llvm.org/D38957
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316097 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/AMDGPUKernelDescriptor.h | 2 | ||||
-rw-r--r-- | include/llvm/Support/AMDGPUMetadata.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/Support/AMDGPUKernelDescriptor.h b/include/llvm/Support/AMDGPUKernelDescriptor.h index 6f404498446..ce2c0c1c959 100644 --- a/include/llvm/Support/AMDGPUKernelDescriptor.h +++ b/include/llvm/Support/AMDGPUKernelDescriptor.h @@ -109,7 +109,7 @@ enum ComputePgmRsrc2 { struct KernelDescriptor final { uint32_t GroupSegmentFixedSize; uint32_t PrivateSegmentFixedSize; - uint32_t MaxFlatWorkgroupSize; + uint32_t MaxFlatWorkGroupSize; uint64_t IsDynamicCallStack : 1; uint64_t IsXNACKEnabled : 1; uint64_t Reserved0 : 30; diff --git a/include/llvm/Support/AMDGPUMetadata.h b/include/llvm/Support/AMDGPUMetadata.h index 448e6e78e1d..0e26a4a9083 100644 --- a/include/llvm/Support/AMDGPUMetadata.h +++ b/include/llvm/Support/AMDGPUMetadata.h @@ -238,8 +238,8 @@ constexpr char WavefrontSize[] = "WavefrontSize"; constexpr char NumSGPRs[] = "NumSGPRs"; /// \brief Key for Kernel::CodeProps::Metadata::mNumVGPRs. constexpr char NumVGPRs[] = "NumVGPRs"; -/// \brief Key for Kernel::CodeProps::Metadata::mMaxFlatWorkgroupSize. -constexpr char MaxFlatWorkgroupSize[] = "MaxFlatWorkgroupSize"; +/// \brief Key for Kernel::CodeProps::Metadata::mMaxFlatWorkGroupSize. +constexpr char MaxFlatWorkGroupSize[] = "MaxFlatWorkGroupSize"; /// \brief Key for Kernel::CodeProps::Metadata::mIsDynamicCallStack. constexpr char IsDynamicCallStack[] = "IsDynamicCallStack"; /// \brief Key for Kernel::CodeProps::Metadata::mIsXNACKEnabled. @@ -268,7 +268,7 @@ struct Metadata final { /// \brief Total number of VGPRs used by a workitem. Optional. uint16_t mNumVGPRs = 0; /// \brief Maximum flat work-group size supported by the kernel. Optional. - uint32_t mMaxFlatWorkgroupSize = 0; + uint32_t mMaxFlatWorkGroupSize = 0; /// \brief True if the generated machine code is using a dynamically sized /// call stack. Optional. bool mIsDynamicCallStack = false; |