D1: Remove qh.commit() - pipeline handles commit internally
This commit is contained in:
@@ -221,15 +221,12 @@ class FmhaKernel:
|
||||
# Load Q[k_sub] → sQ
|
||||
qh = qp.acquire_and_advance()
|
||||
cute.copy(tma_q, tAgQ[(None, Int32(k_sub))], tAsQ[(None, qh.index)], tma_bar_ptr=qh.barrier)
|
||||
qh.commit()
|
||||
# Load K[k_sub] → sK
|
||||
kvh = kvp.acquire_and_advance()
|
||||
cute.copy(tma_k, tBgK[(None, Int32(k_sub))], tBsK[(None, kvh.index)], tma_bar_ptr=kvh.barrier)
|
||||
kvh.commit()
|
||||
# Load V[kt] → sV
|
||||
kvh = kvp.acquire_and_advance()
|
||||
cute.copy(tma_v, tVgV[(None, Int32(kt))], tVsV[(None, kvh.index)], tma_bar_ptr=kvh.barrier)
|
||||
kvh.commit()
|
||||
qp.tail()
|
||||
kvp.tail()
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user