For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Mojo function
indexer_score_grid
def indexer_score_grid(num_rows: Int, num_cand: Int, cols: Int, max_col_blocks: Int = Int(65535)) -> Tuple[Int, Int]
The (rows, column blocks) grid of a launch of cols-wide tiles.
Args:
- βnum_rows (
Int): Query rows, one per grid x. - βnum_cand (
Int): Candidate columns. - βcols (
Int): Columns per tile. - βmax_col_blocks (
Int): The cap on grid y; the tiles past it fold.
Returns:
Tuple[Int, Int]: The grid's x and y.