Skip to content

Commit 4523d38

Browse files
authored
Don't use designated initializers in MatmulLoopPipeline.cpp as it relates to c++20 (triton-lang#5585)
Signed-off-by: Anatoly Myachev <[email protected]>
1 parent 3ed479f commit 4523d38

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,8 @@ createAsyncOps(scf::ForOp &forOp,
879879
llvm::MapVector<int, StageGroup> stageGroups;
880880

881881
for (auto &[loadOp, info] : loadToInfo) {
882-
AsyncLoad asyncLoad = {.loadOp = loadOp};
882+
AsyncLoad asyncLoad;
883+
asyncLoad.loadOp = loadOp;
883884
bool isTMALoad = false;
884885
int numBuffers = info.distToUse;
885886
// For MMAv3, we need an extra buffer as this is assumed in the wgmma

0 commit comments

Comments
 (0)