warp.tile_arange#
- warp.tile_arange(
- *args: Scalar,
- dtype: Scalar,
- storage: str,
Kernel
Generate a tile of linearly spaced elements.
(stop,): Generates values from0tostop - 1(start, stop): Generates values fromstarttostop - 1(start, stop, step): Generates values fromstarttostop - 1with a step size
- Parameters:
args – Variable-length positional arguments, interpreted as:
dtype – Data type of output tile’s elements (optional, default:
float)storage – The storage location for the tile:
"register"for registers (default) or"shared"for shared memory.
- Returns:
A tile with
shape=(n)with linearly spaced elements of specified data type.