We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0abbf18 commit 482b93cCopy full SHA for 482b93c
offload/plugins-nextgen/amdgpu/src/rtl.cpp
@@ -1102,11 +1102,11 @@ struct AMDGPUKernelTy : public GenericKernelTy {
1102
// When fast reduction is enabled, the number of teams is capped by
1103
// the MaxCUMultiplier constant.
1104
// When envar is enabled, use it for computing MaxNumGroup.
1105
- if (EnvarCUMultiplier > 0) {
+ if (EnvarCUMultiplier > 0)
1106
MaxNumGroups = DeviceNumCUs * EnvarCUMultiplier;
1107
- } else {
+ else
1108
MaxNumGroups = DeviceNumCUs * llvm::omp::xteam_red::MaxCUMultiplier;
1109
- }
+
1110
} else {
1111
// When fast reduction is not enabled, the number of teams is capped
1112
// by the metadata that clang CodeGen created. The number of teams
0 commit comments