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

Function grid

src/fused_mm_sampling/tl_gemv.py:19–20  ·  view source on GitHub ↗
(meta)

Source from the content-addressed store, hash-verified

17 out = torch.empty(B, device=x.device, dtype=x.dtype)
18
19 def grid(meta):
20 return (triton.cdiv(B, meta["BLOCK_SIZE_B"]),)
21
22 tl_gemv_kernel[grid](x, Y, out, M, B)
23 return out

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected