fix: odd m indexing in global store
fix for previous rebase error by picking the wrong commit
@@ -10211,7 +10211,7 @@ class KernelWriterAssembly(KernelWriter):
# src2 = sumIdxV = f32 = opsel 00
tmpVgpr = self.vgprPool.checkOut(1)
dataCExternal = ss.elementData[elementIdx] + vi//2
- if (sumIdxV%2) == 1:
+ if (vi%2) == 1:
kStr += inst("v_and_b32", vgpr(tmpVgpr), vgpr(dataCExternal), vgpr(vgprBf16Mask), "convert bf16 to fp32")
else:
kStr += inst("v_lshlrev_b32", vgpr(tmpVgpr), "16", vgpr(dataCExternal), "convert bf16 to fp32" )
