Set UseSgprForGRO=0 automagically for packed dims
@@ -1610,11 +1610,14 @@ class Solution:
reject(state, "packedC1 requires GuaranteeNoPartialB")
if packedC0 or packedC1:
+
+ state["UseSgprForGRO"] = 0
+
if state["EdgeType"] != "ShiftPtr":
reject(state, "Packed dims requires EdgeType==ShiftPtr")
if state["KernelLanguage"] == "Assembly":
- if not state["BufferLoad"] or state["UseSgprForGRO"]:
- reject(state, "Packed dims for Assembly requires BufferLoad and UseSgprForGRO=0")
+ if not state["BufferLoad"]:
+ reject(state, "Packed dims for Assembly requires BufferLoad")
if not state["LdcEqualsLdd"]:
# this would require an extra VGPR for addressing (since shared VGPRS are per-row)
# and also would require that the dimension extraction and scale code be implemented
