Script.attrs.blocks¶ Attributes.blocks: Sequence[Expr | int] | int | Expr | None = None¶ The grid dimensions of the kernel launch. Set as a list of up to 3 integers, e.g., self.attrs.blocks = [grid_x, grid_y].