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

Function grid

src/fused_mm_sampling/tl_fused_mm_topk.py:122–128  ·  view source on GitHub ↗
(meta)

Source from the content-addressed store, hash-verified

120 grid_size = {"v": None}
121
122 def grid(meta):
123 grid_size_v = triton.cdiv(V, meta["BLOCK_SIZE_V"])
124 grid_size["v"] = grid_size_v
125 return (
126 grid_size_v,
127 triton.cdiv(H, meta["BLOCK_SIZE_H"]),
128 )
129
130 fused_mm_topk_kernel[grid](
131 weights_ptr=weights,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected