IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
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.

Was this page helpful?