warp.tile_arange#
- warp.tile_arange(
- *args: Scalar,
- dtype: Scalar,
- storage: str,
Kernel
Generate a tile of linearly spaced elements.
- param args:
Variable-length positional arguments, interpreted as:
(stop,): Generates values from0tostop - 1(start, stop): Generates values fromstarttostop - 1(start, stop, step): Generates values fromstarttostop - 1with a step size
- param dtype:
Data type of output tile’s elements (optional, default:
float)- param 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