Skip to content

Commit e82fdb3

Browse files
lucas-ramiarsenm
andauthored
Remove reference
Co-authored-by: Matt Arsenault <[email protected]>
1 parent f817442 commit e82fdb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ std::pair<unsigned, unsigned> AMDGPUSubtarget::getOccupancyWithWorkGroupSizes(
8181
// workgroups, maximum number of waves, and minimum occupancy. The opposite is
8282
// generally true for the minimum group size. LDS or barrier ressource
8383
// limitations can flip those minimums/maximums.
84-
const auto &[MinWGSize, MaxWGSize] = FlatWorkGroupSizes;
84+
const auto [MinWGSize, MaxWGSize] = FlatWorkGroupSizes;
8585
auto [MinWavesPerWG, MaxWGsPerCU, MaxWavesPerCU] = PropsFromWGSize(MinWGSize);
8686
auto [MaxWavesPerWG, MinWGsPerCU, MinWavesPerCU] = PropsFromWGSize(MaxWGSize);
8787

0 commit comments

Comments
 (0)