warp.tile_full#

warp.tile_full(
shape: tuple[int, ...],
value: Any,
dtype: Any,
storage: str,
) Tile[Any, tuple[int, ...]]#
  • Kernel

Allocate a tile filled with the specified value.

Parameters:
  • shape – Shape of the output tile

  • value – Value to fill the tile with

  • dtype – Data type of output tile’s elements

  • storage – The storage location for the tile: "register" for registers (default) or "shared" for shared memory.

Returns:

A tile filled with the specified value.

warp.tile_full(
shape: int32,
value: Any,
dtype: Any,
storage: str,
) Tile[Any, tuple[int, ...]]
  • Kernel

Allocate a tile filled with the specified value.