MCPcopy Create free account
hub / github.com/FlashSampling/FlashSampling / grid

Function grid

src/fused_mm_sampling/persistent_matmul.py:267–270  ·  view source on GitHub ↗
(META)

Source from the content-addressed store, hash-verified

265 c_desc = TensorDescriptor.from_tensor(c, dummy_block)
266
267 def grid(META):
268 BLOCK_M = META["BLOCK_SIZE_M"]
269 BLOCK_N = META["BLOCK_SIZE_N"]
270 return (triton.cdiv(M, BLOCK_M) * triton.cdiv(N, BLOCK_N),)
271
272 matmul_kernel_tma[grid](
273 a_desc,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected