Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI gfx11 I8 Fail - Add Local Read waitcnt for ScaleAlphaVec #1173

Merged
merged 1 commit into from
Oct 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions tensilelite/Tensile/Components/GlobalWriteBatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -994,17 +994,16 @@ def _emitNonatomicAdd(self, module: Module):
if self.loadE:
vmcnt = 0
commentList.append("E")
if (self.kernel["ProblemType"]["UseScaleAB"] == "Vector") and ((self.kernel["GlobalSplitU"] == 1) or (self.kernel["GlobalSplitUAlgorithm"] == "MultipleBufferSingleKernel")):
vmcnt = 0
commentList.append("ScaleABVec")
if self.kernel["ProblemType"]["UseScaleAlphaVec"] and ((self.kernel["GlobalSplitU"] == 1) or (self.kernel["GlobalSplitUAlgorithm"] == "MultipleBufferSingleKernel")):
vmcnt = 0
commentList.append("ScaleAlphaVec")
# print("ScaleAlphaVec vmcnt")
# Local read wait
if self.parentWriter.states.useBias == DataDirection.READ:
lgkmcnt = 0
commentList.append("Bias LDS")
if (self.kernel["ProblemType"]["UseScaleAB"] == "Vector") and ((self.kernel["GlobalSplitU"] == 1) or (self.kernel["GlobalSplitUAlgorithm"] == "MultipleBufferSingleKernel")):
lgkmcnt = 0
commentList.append("ScaleABVec")
if self.kernel["ProblemType"]["UseScaleAlphaVec"] and ((self.kernel["GlobalSplitU"] == 1) or (self.kernel["GlobalSplitUAlgorithm"] == "MultipleBufferSingleKernel")):
lgkmcnt = 0
commentList.append("ScaleAlphaVec")
if (vmcnt != -1) or (lgkmcnt != -1):
# Get comment
comment = "wait for " + commentList[0]
Expand Down