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

Add reject states for failing streamk params #1425

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
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
6 changes: 6 additions & 0 deletions tensilelite/Tensile/SolutionStructs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2181,6 +2181,12 @@ def assignDerivedParameters(state):
reject(state, "General batch not supported with Stream-K")
if state["ProblemType"]["GroupedGemm"]:
reject(state, "Grouped gemm not yet supported with Stream-K")
if state["ScheduleGlobalRead"] != 1:
reject(state, "ScheduleGlobalRead not supported with Stream-K")
if state["ScheduleLocalWrite"] != 1:
reject(statue, "ScheduleLocalWrite not supported with Stream-K")
if state["ScheduleIterAlg"] != 1 and state["ScheduleIterAlg"] != 3:
reject(state, "ScheduleIterAlg not supported with Stream-K")
if state["StreamKAtomic"] == 1:
if not state["ProblemType"]["DataType"].isSingle():
reject(state, "Atomic Stream-K currently only tested for SGEMM")
Expand Down