SMEM-P: fix coordinate access - qk_coord is (m,n) not ((m,n),0,0)
This commit is contained in:
@@ -349,9 +349,9 @@ class FmhaKernel:
|
||||
if self.use_smem_p:
|
||||
# Get QK coordinate for this position
|
||||
qk_coord = tTMEM_LOADcS_frg[k, j]
|
||||
mn = qk_coord[0]
|
||||
m = mn[0]
|
||||
n = mn[1]
|
||||
# qk_coord is (m, n) coordinate
|
||||
m = qk_coord[0]
|
||||
n = qk_coord[1]
|
||||
|
||||
# Map to PV SMEM coordinate
|
||||
n0 = n % 16
|
||||
|
||||
Reference in New Issue
Block a user