Skip to content

Commit 64608f6

Browse files
authored
[BACKEND] Do not use C++20 designated initializers (#6615)
1 parent d52153c commit 64608f6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/Dialect/TritonGPU/Transforms/Pipeliner/LowerLoops.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,8 +504,9 @@ scf::ForOp lowerLoads(scf::ForOp forOp, CoarseSchedule &schedule) {
504504
// Allocate additional buffer required by the wgmma pipelining.
505505
stageDiff += 1;
506506
}
507-
asyncLoads[&op] = {.stageDiff = stageDiff,
508-
.sharedEncoding = sharedEncoding};
507+
auto &asyncLoad = asyncLoads[&op];
508+
asyncLoad.stageDiff = stageDiff;
509+
asyncLoad.sharedEncoding = sharedEncoding;
509510
} else if (stageDiff > 1) {
510511
// Distance-1 loads can in most cases be pipelined in registers without
511512
// any performance degradation, as the schedule will usually reorder the

0 commit comments

Comments
 (0)