~/bend-docscommunity

tensor_tiled.bend checks

raw source on the hub · import stelliferous@0.0.4.0/tensor_tiled.bend as Tensor_tiled

A tiled tensor keeps eight values of one axis of its logical shape, its lane axis, in one Tile8, lanes past the true extent holding +0. Its cells are a tensor of tiles over the cell axes of the logical shape (Grid.cell_shape): the other axes in order with the groups of the lane axis innermost, or outermost for an operand a kernel streams by group. A lane axis past the end of the shape is the unit axis: one value a cell, the cells in the logical shape.

17 imports
import Base
import ./kernel_tile.bend as Tile
import ./math_choice.bend as Choice
import ./storage_buffer.bend as Storage
import ./tensor.bend as Tensors
import ./tensor_grid.bend as Grid
import ./tensor_pieces.bend as Pieces
import ./tensor_tasks.bend as Tasks
import ./tensor_move.bend as Move
import ./traversal_loop.bend as Loop
import ./tensor_view.bend as Views
import ./tensor_tiled_cells.bend as Cells
import ./traversal_partition.bend as Partition
import ./tensor_shape.bend as Shapes
import ./proofs/storage_certificate.bend as Certificate
import ./proofs/traversal_certificate.bend as TraversalCertificate
import ./proofs/tensor_tiled_certificate.bend as TiledCertificate

Types

type Tiled source · line 26 · raw

Type

type Around source · line 32 · raw

Data

The axes of a shape around one axis: the product of those before it, its extent and the axes after it. The axis just past the last is a unit axis, so a tensor of rank 0 is one lane of one cell.

type Tiling source · line 96 · raw

Data

What every piece of a conversion reads: outer indices of the axes but the lane axis, after of them after it, the lanes and groups of the lane axis, and where the groups lie.

type Untiling source · line 201 · raw

Type

Untiling a piece: the cells read from index on, their values written.

type Attempt source · line 330 · raw

@-Start:Type -> Type

A relabel of the cells that reached its result, or the tensor it starts from when it cannot.

type Relane source · line 339 · raw

Data

A move of the lanes from axis source to axis target of a logical shape: whether each lies inside the shape, where the groups lie on each side, the lanes of the target axis and the target cell axes.

type Role source · line 354 · raw

Data

A relane moves blocks: eight indices 8k + i of the source lane axis and eight indices 8g + j of the target lane axis, where target cell i holds in lane j what source cell j holds in lane i. What a target cell axis is to the blocks: an axis both sides share, the target groups, or the source lane axis in blocks of eight. source is its source cell stride (per index of the target lane axis for the groups, per block for the lane axis) and lanes the extent of the lane axis it carries.

type Blocked source · line 359 · raw

Data

type CellAxis source · line 365 · raw

Data

What a target cell axis is: the cells of a logical axis, or the groups of the lane axis. A type of its own: lists of it are shared, and a list of Maybe would share every Maybe, and with it every View in a Maybe.

type Relaning source · line 387 · raw

Data

A relane and what every target cell axis is to its blocks.

type Ranged source · line 393 · raw

Data

One axis of the blocks of a target piece: the first index of the piece on it, the indices it holds, the blocks it counts and the blocks of the axes after it, and its stride in the piece.

type Block source · line 426 · raw

Data

One block of a target piece: its first source cell, the first target cell it writes in the piece and the step between its target cells, the cells of the block it writes from low to high, and the source cells it reads, step apart.

type Eight source · line 449 · raw

Data

type Split source · line 722 · raw

Data

A lane axis of extent anchors * width split into an axis of anchors and the next of width, which takes the lanes, the groups keeping their position. The cells, in order, are the outer elements before the lane axis, the anchors, the after elements after it and the groups of the new lanes: cell (o, a, r, j) holds in lane l the element of index a * width + 8 * j + l of the old lane axis, +0 past width.

type Spot source · line 727 · raw

Data

A target cell: its anchor, its group, the source cell of group 0 at its outer and after indices and the step between source groups.

type Run source · line 779 · raw

Data

With the groups innermost the cells of one outer, anchor and after index are a run: consecutive target cells that read consecutive source cells, every one shifted by the same lanes. A run starts at target cell index and stops at the end of its groups or at end; its source cells start at source, the cell of group group of the old lanes.

type Step source · line 899 · raw

Data

The next step of a pairing: both ends reached, a target axis of one index, a source axis of one index, two axes of one extent, or none of these.

type Sides source · line 948 · raw

Data

The grids and the source lanes the readings of a split use.

type Write source · line 1100 · raw

Data

A part written into a target along the lane axis from index start, width indices wide: target cell (o, k), of other index o and group k, takes in lane l, when start <= 8k + l < start + width, element 8k + l - start of the part's lane axis at o. groups and part_groups count the groups, others the cells of one group.

type Others source · line 1111 · raw

Data

The other indices of a group's cells a target piece may hold, from low below high.

type Writing source · line 1122 · raw

Type

The holdings of the target and the part and the target piece.

Definitions

def around source · line 35 · raw

@shape:List<&2, U32> -> @axis:Nat -> @+outer:U32 -> Maybe<&2, Around>

def product source · line 42 · raw

@extents:List<&2, U32> -> U32

def groups source · line 45 · raw

@lanes:U32 -> U32

def lane_axis source · line 50 · raw

@rank:Nat -> Nat

The lane axis of a tensor: the channels of [N,]C,H,W, otherwise the last axis, and the unit axis of rank 0.

def lane_axis_for source · line 59 · raw

@+shape:List<&2, U32> -> Nat

The lane axis of a shape: that of its rank, or the last axis when that one holds a single element.

def zero_tile source · line 64 · raw

0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8

def cell_shape source · line 69 · raw

@+shape:List<&2, U32> -> @+axis:Nat -> @+position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> List<&2, U32>

The cell axes of a logical shape with its lanes on axis, the groups at position.

def logical_shape source · line 72 · raw

@+cells:List<&2, U32> -> @+axis:Nat -> @+lanes:U32 -> @+position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> List<&2, U32>

def cell_axis_at source · line 75 · raw

@position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> @+axis:Nat -> @+lane:Nat -> @+rank:Nat -> Nat

def cell_axis source · line 83 · raw

@position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> @+axis:Nat -> @+lane:Nat -> @+rank:Nat -> Nat

The cell axis of an axis of a logical shape of rank rank with its lanes on lane, the groups at position: the groups for the lane axis itself. Lanes on the unit axis leave the axes as they are.

def cell_values source · line 88 · raw

@+values:List<&2, U32> -> @+lane:Nat -> @+position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> List<&2, U32>

Values per axis of a logical shape as values per cell axis: the lane axis drops out and the groups take zero.

def tiled_pair source · line 99 · raw

@input_length:Nat -> @output_length:Nat -> @result:Pair(Array<F32>, Array<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>) -> @certificates:0xa2af805348d03b11eb853850859654f6/proofs/traversal_certificate.Certificates<Array<F32>, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8, 0xa2af805348d03b11eb853850859654f6/proofs/storage_certificate.family(F32), result> -> Pair(0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<F32>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>)

def tiled_inner source · line 105 · raw

@+first:U32 -> @+count:U32 -> @+after:U32 -> @+lanes:U32 -> @+groups:U32 -> @input:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<F32> -> @output:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> Pair(0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<F32>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>)

def tiled_outer source · line 113 · raw

@+first:U32 -> @+count:U32 -> @+outer:U32 -> @+after:U32 -> @+lanes:U32 -> @input:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<F32> -> @output:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> Pair(0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<F32>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>)

def tiled_into source · line 120 · raw

@position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> @+first:U32 -> @+count:U32 -> @+outer:U32 -> @+after:U32 -> @+lanes:U32 -> @+groups:U32 -> @input:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<F32> -> @output:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> Pair(0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<F32>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>)

def piece_leaf source · line 126 · raw

@+first:U32 -> @+count:U32 -> @pair:Pair(0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<F32>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>) -> Pair(0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<F32>, 0xa2af805348d03b11eb853850859654f6/tensor_pieces.Pieces(0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8))

def tiled_piece source · line 130 · raw

@context:Tiling -> @first:U32 -> @count:U32 -> @input:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<F32> -> Pair(0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<F32>, 0xa2af805348d03b11eb853850859654f6/tensor_pieces.Pieces(0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8))

def tiled_from source · line 138 · raw

@+shape:List<&2, U32> -> @+axis:Nat -> @+position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> @+workers:U32 -> @axes:Around -> @input:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<F32> -> Tiled

The cells of a logical shape from its values in row-major order, each piece from the one buffer of the values.

def failed_cells source · line 148 · raw

@problem:0xa2af805348d03b11eb853850859654f6/tensor.Problem -> @+shape:List<&2, U32> -> @+axis:Nat -> @+lanes:U32 -> @+position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> @+workers:U32 -> Tiled

A failed tensor keeps its problem in the cells it would have had.

def tiled_around source · line 151 · raw

@axes:Maybe<&2, Around> -> @status:0xa2af805348d03b11eb853850859654f6/tensor.Status -> @+shape:List<&2, U32> -> @+axis:Nat -> @+position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> @+workers:U32 -> @input:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<F32> -> Tiled

def from_buffer source · line 159 · raw

@+shape:List<&2, U32> -> @+axis:Nat -> @+position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> @status:0xa2af805348d03b11eb853850859654f6/tensor.Status -> @+workers:U32 -> @input:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<F32> -> Tiled

The tiled form of row-major values of a logical shape: the lanes on axis, the groups at position. The values must fill the shape.

def tiled_shape source · line 162 · raw

@status:0xa2af805348d03b11eb853850859654f6/tensor.Status -> @+shape:List<&2, U32> -> @workers:U32 -> @input:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<F32> -> Tiled

def tiled_at source · line 166 · raw

@tensor:0xa2af805348d03b11eb853850859654f6/tensor.Tensor<F32> -> @+axis:Nat -> @+position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> Tiled

The tiled form of a tensor with its lanes on axis, the groups at position.

def tiled source · line 172 · raw

@tensor:0xa2af805348d03b11eb853850859654f6/tensor.Tensor<F32> -> Tiled

The tiled form of a tensor along its lane axis.

def lane_written source · line 178 · raw

@wanted:Bool -> @+index:U32 -> @value:F32 -> @output:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<F32> -> 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<F32>

A value of a cell written when its lane holds one.

def cell_untiled source · line 184 · raw

@+base:U32 -> @+step:U32 -> @+valid:U32 -> @tile:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @output:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<F32> -> 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<F32>

The lanes of a cell below valid written from base on, step apart.

def written_cell source · line 193 · raw

@+context:0xa2af805348d03b11eb853850859654f6/tensor_tiled_cells.Cells -> @+cell:U32 -> @tile:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @output:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<F32> -> 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<F32>

The first value and the values of cell index: outer index o and group g hold values (o / after * lanes + 8 * g + j) * after + o % after.

def untiling_read source · line 204 · raw

@+index:U32 -> @+first:U32 -> @+context:0xa2af805348d03b11eb853850859654f6/tensor_tiled_cells.Cells -> @read:Pair(0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8) -> @output:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<F32> -> Untiling

def untiling_step source · line 209 · raw

@state:Untiling -> Untiling

The cell at index written, then the next.

def untiled_output source · line 213 · raw

@state:Untiling -> 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<F32>

def untiled_piece source · line 218 · raw

@context:0xa2af805348d03b11eb853850859654f6/tensor_tiled_cells.Cells -> @first:U32 -> @count:U32 -> @input:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> @output:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<F32> -> 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<F32>

The values of the cells of a piece, written in place.

def values_around source · line 221 · raw

@axes:Maybe<&2, Around> -> @+lanes:U32 -> @+position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> @pieces:0xa2af805348d03b11eb853850859654f6/tensor_pieces.Pieces(0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8) -> 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<F32>

def values_status source · line 229 · raw

@status:0xa2af805348d03b11eb853850859654f6/tensor.Status -> @+shape:List<&2, U32> -> @+axis:Nat -> @+lanes:U32 -> @+position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> @pieces:0xa2af805348d03b11eb853850859654f6/tensor_pieces.Pieces(0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8) -> 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<F32>

def untiled source · line 242 · raw

@tiled:Tiled -> 0xa2af805348d03b11eb853850859654f6/tensor.Tensor<F32>

The values whose tiled form the cells are.

def shape source · line 249 · raw

@tiled:Tiled -> Pair(Tiled, List<&2, U32>)

def checked source · line 253 · raw

@+axis:Nat -> @+lanes:U32 -> @+position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> @result:Result<&1, &1, Pair(0xa2af805348d03b11eb853850859654f6/tensor.Tensor<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/tensor.Problem), 0xa2af805348d03b11eb853850859654f6/tensor.Tensor<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>> -> Result<&1, &1, Pair(Tiled, 0xa2af805348d03b11eb853850859654f6/tensor.Problem), Tiled>

def check source · line 259 · raw

@tiled:Tiled -> Result<&1, &1, Pair(Tiled, 0xa2af805348d03b11eb853850859654f6/tensor.Problem), Tiled>

def counted source · line 263 · raw

@+axis:Nat -> @+lanes:U32 -> @+position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> @pair:Pair(0xa2af805348d03b11eb853850859654f6/tensor.Tensor<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, U32) -> Pair(Tiled, U32)

def workers source · line 267 · raw

@tiled:Tiled -> Pair(Tiled, U32)

def with_workers source · line 271 · raw

@tiled:Tiled -> @+count:U32 -> Tiled

def rejected source · line 277 · raw

@name:String -> @tiled:Tiled -> Tiled

A usable tensor fails with an invalid argument of the operation; a failed one keeps its problem.

def empty_around source · line 286 · raw

@axes:Maybe<&2, Around> -> @+shape:List<&2, U32> -> @+axis:Nat -> @+workers:U32 -> Tiled

The cells of a shape with a zero extent: no storage, the lanes on the lane axis of its rank.

def empty source · line 292 · raw

@+shape:List<&2, U32> -> @+workers:U32 -> Tiled

def zeros_counted source · line 298 · raw

@count:Maybe<&2, U32> -> @vacant:Bool -> @axes:Maybe<&2, Around> -> @+shape:List<&2, U32> -> @+axis:Nat -> Tiled

A tensor of +0: zero tiles in the cells of the shape, the lanes on the lane axis of the shape. The count of the shape must fit the machine.

def zeros source · line 305 · raw

@+shape:List<&2, U32> -> Tiled

def failed source · line 311 · raw

@operation:String -> @reason:0xa2af805348d03b11eb853850859654f6/tensor.Reason -> @+shape:List<&2, U32> -> @workers:U32 -> Tiled

A tensor of a shape that failed in an operation: failed cells of the shape, one lane a cell on the unit axis.

def failed_as source · line 315 · raw

@problem:0xa2af805348d03b11eb853850859654f6/tensor.Problem -> @+shape:List<&2, U32> -> @+workers:U32 -> Tiled

Failed cells of a shape with the problem of another tensor.

def copied source · line 319 · raw

@+axis:Nat -> @+lanes:U32 -> @+position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> @pair:Pair(0xa2af805348d03b11eb853850859654f6/tensor.Tensor<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/tensor.Tensor<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>) -> Pair(Tiled, Tiled)

def copy source · line 324 · raw

@tiled:Tiled -> Pair(Tiled, Tiled)

The only operation that keeps its argument: (original, copy).

def source_axis source · line 343 · raw

@+source:Nat -> @+source_within:Bool -> @+source_position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> @+axis:Nat -> U32

The source cell axis of a logical axis other than the source lane axis.

def blocked_axis source · line 369 · raw

@axis:CellAxis -> @+source:Nat -> @+source_within:Bool -> @+source_position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> @+target:Nat -> @+strides:List<&2, U32> -> @+shape:List<&2, U32> -> @+groups_axis:U32 -> Blocked

def blocked_list source · line 376 · raw

@axes:List<&2, CellAxis> -> @+source:Nat -> @+source_within:Bool -> @+source_position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> @+target:Nat -> @+strides:List<&2, U32> -> @+shape:List<&2, U32> -> @+groups_axis:U32 -> List<&2, Blocked>

def blocked_axes source · line 382 · raw

@+walk:Relane -> @+strides:List<&2, U32> -> @+shape:List<&2, U32> -> @+groups_axis:U32 -> @axes:List<&2, CellAxis> -> List<&2, Blocked>

def block_count source · line 396 · raw

@role:Role -> @+low:U32 -> @+extent:U32 -> U32

def blocked_role source · line 401 · raw

@blocked:Blocked -> Role

def ranged_count source · line 405 · raw

@ranged:Ranged -> U32

def ranged_head_count source · line 409 · raw

@rest:List<&2, Ranged> -> U32

def ranged_prepended source · line 414 · raw

@+blocked:Blocked -> @+low:U32 -> @+extent:U32 -> @+target:U32 -> @+rest:List<&2, Ranged> -> List<&2, Ranged>

def ranged_axes source · line 417 · raw

@axes:List<&2, Blocked> -> @lows:List<&2, U32> -> @extents:List<&2, U32> -> @targets:List<&2, U32> -> List<&2, Ranged>

def block_axis source · line 429 · raw

@role:Role -> @block:Block -> @+index:U32 -> @+low:U32 -> @+extent:U32 -> @+source:U32 -> @+lanes:U32 -> @+target:U32 -> Block

def block_at source · line 443 · raw

@axes:List<&2, Ranged> -> @+index:U32 -> @block:Block -> Block

def transposed source · line 453 · raw

@eight:Eight -> Eight

Cell i of the result holds lane i of every cell j in lane j.

def held_cell source · line 508 · raw

@holding:0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> @index:U32 -> Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8)

A cell of the source tensor through the holding, +0 where no held piece holds it, and a cell of one piece.

def piece_cell source · line 511 · raw

@buffer:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> @index:U32 -> Pair(0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8)

def piece_returned source · line 514 · raw

@behind:0xa2af805348d03b11eb853850859654f6/tensor_move.Stack<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> @+first:U32 -> @+count:U32 -> @below:0xa2af805348d03b11eb853850859654f6/tensor_move.Stack<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> @read:Pair(0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, Eight) -> Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, Eight)

def piece_block source · line 521 · raw

@inside:Bool -> @+reads:U32 -> @+source:U32 -> @+step:U32 -> @behind:0xa2af805348d03b11eb853850859654f6/tensor_move.Stack<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> @buffer:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> @+first:U32 -> @+count:U32 -> @below:0xa2af805348d03b11eb853850859654f6/tensor_move.Stack<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, Eight)

A block whose cells one step of a run would take from the current piece reads them from it.

def current_block source · line 528 · raw

@+reads:U32 -> @+source:U32 -> @+step:U32 -> @holding:0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, Eight)

def block_reads source · line 535 · raw

@+reads:U32 -> @+source:U32 -> @+step:U32 -> @holding:0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, Eight)

The eight cells of a block from the piece of its first cell.

def cell_written source · line 538 · raw

@wanted:Bool -> @+target:U32 -> @cell:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @output:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>

def block_writes source · line 544 · raw

@+low:U32 -> @+high:U32 -> @+target:U32 -> @+stride:U32 -> @eight:Eight -> @output:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>

Cells low to high of a block written, cell i at target + (i - low) * stride.

def block_moved source · line 556 · raw

@+block:Block -> @read:Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, Eight) -> @output:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>)

def block_written source · line 561 · raw

@+block:Block -> @holding:0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> @output:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>)

def blocks source · line 566 · raw

@fuel:Nat -> @+index:U32 -> @+axes:List<&2, Ranged> -> @pair:Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>) -> Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>)

Blocks from index on of a target piece.

def relaned_piece source · line 573 · raw

@+axes:List<&2, Ranged> -> @+count:U32 -> @holding:0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>)

def relane_written source · line 576 · raw

@rest:0xa2af805348d03b11eb853850859654f6/tensor.Holdings<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> @pair:Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>) -> Pair(0xa2af805348d03b11eb853850859654f6/tensor.Holdings<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>)

def relane_held source · line 580 · raw

@+axes:List<&2, Blocked> -> @+cells:List<&2, U32> -> @+first:U32 -> @+count:U32 -> @+fill:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @input:0xa2af805348d03b11eb853850859654f6/tensor.Holdings<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> Pair(0xa2af805348d03b11eb853850859654f6/tensor.Holdings<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>)

def relane_gather source · line 589 · raw

@+context:Relaning -> @+components:0xa2af805348d03b11eb853850859654f6/tensor_tasks.Components -> @+first:U32 -> @+count:U32 -> @+fill:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @input:0xa2af805348d03b11eb853850859654f6/tensor.Holdings<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> Pair(0xa2af805348d03b11eb853850859654f6/tensor.Holdings<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>)

A target piece written block by block from the source cells its task holds.

def read_at source · line 595 · raw

@+grid:0xa2af805348d03b11eb853850859654f6/tensor_grid.Grid -> @+axis:U32 -> @+extent:U32 -> @+step:U32 -> @+width:U32 -> @+divisor:U32 -> 0xa2af805348d03b11eb853850859654f6/tensor_tasks.Source

def logical_reading source · line 600 · raw

@+source:Nat -> @+source_within:Bool -> @+source_position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> @+source_cells:List<&2, U32> -> @+source_grid:0xa2af805348d03b11eb853850859654f6/tensor_grid.Grid -> @+axis:Nat -> @+extent:U32 -> 0xa2af805348d03b11eb853850859654f6/tensor_tasks.Source

How a target cell axis of logical axis axis reads the source cells: the source lane axis reads the source groups, every other axis its own axis.

def axes_from source · line 607 · raw

@remaining:Nat -> @+index:Nat -> @+skipped:Nat -> List<&2, CellAxis>

The axes of a shape from index on but skipped.

def target_axes source · line 615 · raw

@within:Bool -> @position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> @+axis:Nat -> @+rank:Nat -> List<&2, CellAxis>

The logical axis of every target cell axis; the target groups have none.

def relane_readings source · line 621 · raw

@+source:Nat -> @+source_within:Bool -> @+source_position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> @+target:Nat -> @+source_cells:List<&2, U32> -> @+source_grid:0xa2af805348d03b11eb853850859654f6/tensor_grid.Grid -> @+target_grid:0xa2af805348d03b11eb853850859654f6/tensor_grid.Grid -> @+shape:List<&2, U32> -> @axes:List<&2, CellAxis> -> @extents:List<&2, U32> -> @+index:U32 -> List<&2, 0xa2af805348d03b11eb853850859654f6/tensor_tasks.Reading>

def relane_cells source · line 633 · raw

@+walk:Relane -> @+shape:List<&2, U32> -> @+source_cells:List<&2, U32> -> @+workers:U32 -> @pieces:0xa2af805348d03b11eb853850859654f6/tensor_pieces.Pieces(0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8) -> 0xa2af805348d03b11eb853850859654f6/tensor_pieces.Pieces(0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8)

def walk_cells source · line 644 · raw

@walk:Relane -> List<&2, U32>

def relane_status source · line 648 · raw

@status:0xa2af805348d03b11eb853850859654f6/tensor.Status -> @+walk:Relane -> @+shape:List<&2, U32> -> @+source_cells:List<&2, U32> -> @+workers:U32 -> @pieces:0xa2af805348d03b11eb853850859654f6/tensor_pieces.Pieces(0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8) -> 0xa2af805348d03b11eb853850859654f6/tensor.Tensor<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>

def relane source · line 658 · raw

@tiled:Tiled -> @+axis:Nat -> @+target_position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> Tiled

The tiled form with its lanes moved from their axis to another, the groups keeping their position. The cell at index x of the old lane axis and group g of the new one holds, in lane l, lane x % 8 of the cell of group x / 8 of the old axis and index 8 * g + l of the new one; lanes past the extent of the new axis are +0.

def joined_1 source · line 670 · raw

@low:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @high:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8

Lanes shift to shift + 7 of a cell followed by the next.

def joined_2 source · line 675 · raw

@low:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @high:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8

def joined_3 source · line 680 · raw

@low:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @high:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8

def joined_4 source · line 685 · raw

@low:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @high:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8

def joined_5 source · line 690 · raw

@low:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @high:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8

def joined_6 source · line 695 · raw

@low:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @high:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8

def joined_7 source · line 700 · raw

@low:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @high:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8

def joined source · line 705 · raw

@+shift:U32 -> @low:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @high:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8

def split_spot source · line 730 · raw

@position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> @+outer:U32 -> @+anchors:U32 -> @+after:U32 -> @+groups:U32 -> @+source_groups:U32 -> @+index:U32 -> Spot

def split_high source · line 741 · raw

@+shift:U32 -> @+first:U32 -> @+width:U32 -> @low:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @pair:Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8) -> Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8)

def split_low source · line 745 · raw

@+shift:U32 -> @+first:U32 -> @+width:U32 -> @+source:U32 -> @+step:U32 -> @further:Bool -> @pair:Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8) -> Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8)

def split_spotted source · line 751 · raw

@+width:U32 -> @+source_groups:U32 -> @spot:Spot -> @holding:0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8)

A target cell from the source cell of its first lane and, when its lanes start inside that cell and another follows, the next one.

def split_cell source · line 759 · raw

@+split:Split -> @+index:U32 -> @holding:0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8)

def split_written source · line 763 · raw

@+index:U32 -> @output:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> @read:Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8) -> Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>)

def split_cells source · line 767 · raw

@fuel:Nat -> @+split:Split -> @+first:U32 -> @+index:U32 -> @pair:Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>) -> Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>)

def run_spotted source · line 782 · raw

@+width:U32 -> @+groups:U32 -> @+index:U32 -> @+end:U32 -> @spot:Spot -> Run

def split_run source · line 788 · raw

@+split:Split -> @+index:U32 -> @+end:U32 -> Run

def run_masked source · line 793 · raw

@partial:Bool -> @+first:U32 -> @+width:U32 -> @cell:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8

The lanes of a target cell past width are +0.

def run_high source · line 798 · raw

@+shift:U32 -> @+first:U32 -> @+width:U32 -> @low:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @read:Pair(0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8) -> Pair(0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8)

def run_low source · line 802 · raw

@+shift:U32 -> @+first:U32 -> @+width:U32 -> @+local:U32 -> @further:Bool -> @read:Pair(0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8) -> Pair(0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8)

def run_written source · line 806 · raw

@+target:U32 -> @output:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> @read:Pair(0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8) -> Pair(0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>)

def run_cells source · line 813 · raw

@fuel:Nat -> @+width:U32 -> @+source_groups:U32 -> @+shift:U32 -> @+local:U32 -> @+cell:U32 -> @+group:U32 -> @+target:U32 -> @pair:Pair(0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>) -> Pair(0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>)

The cells of a run whose source cells one piece holds, local from its first: the low cell and, when the lanes shift and another source cell follows, the next.

def run_held source · line 822 · raw

@+split:Split -> @+run:Run -> @inside:Bool -> @+first:U32 -> @+local:U32 -> @behind:0xa2af805348d03b11eb853850859654f6/tensor_move.Stack<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> @buffer:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> @+start:U32 -> @+span:U32 -> @below:0xa2af805348d03b11eb853850859654f6/tensor_move.Stack<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> @output:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>)

def run_resolved source · line 832 · raw

@+split:Split -> @+run:Run -> @+first:U32 -> @+local:U32 -> @holding:0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> @output:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>)

A run from the piece that holds its first source cell when it holds them all, otherwise cell by cell.

def run_applied source · line 842 · raw

@+split:Split -> @+run:Run -> @+first:U32 -> @+local:U32 -> @pair:Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>) -> Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>)

def run_count source · line 848 · raw

@run:Run -> U32

def split_runs source · line 853 · raw

@fuel:Nat -> @more:Bool -> @+split:Split -> @+first:U32 -> @+local:U32 -> @+count:U32 -> @pair:Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>) -> Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>)

The runs of a target piece from local cell local on, while more.

def split_written_piece source · line 865 · raw

@innermost:Bool -> @+split:Split -> @+first:U32 -> @+count:U32 -> @pair:Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>) -> Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>)

The cells of a target piece: by runs with the groups innermost, otherwise cell by cell.

def split_position source · line 871 · raw

@split:Split -> 0xa2af805348d03b11eb853850859654f6/tensor_grid.Position

def split_gather source · line 876 · raw

@+split:Split -> @+components:0xa2af805348d03b11eb853850859654f6/tensor_tasks.Components -> @+first:U32 -> @+count:U32 -> @+fill:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @input:0xa2af805348d03b11eb853850859654f6/tensor.Holdings<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> Pair(0xa2af805348d03b11eb853850859654f6/tensor.Holdings<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>)

A target piece written from the source cells its task holds.

def prepended source · line 892 · raw

@link:Link -> @rest:Maybe<&2, List<&2, Link>> -> Maybe<&2, List<&2, Link>>

def step_of source · line 906 · raw

@target:List<&2, U32> -> @source:List<&2, U32> -> Step

def paired source · line 918 · raw

@fuel:Nat -> @step:Step -> @+target:List<&2, U32> -> @+source:List<&2, U32> -> @+source_index:Nat -> Maybe<&2, List<&2, Link>>

The target axes paired in order with the source axes from source_index on: an axis of one index reads nothing, every other the next source axis of more than one index, which has its extent. None when they do not pair. Every step drops an axis, within the fuel of both lengths.

def pairing source · line 933 · raw

@+target:List<&2, U32> -> @+source:List<&2, U32> -> @+source_index:Nat -> Maybe<&2, List<&2, Link>>

def sides_target source · line 951 · raw

@sides:Sides -> 0xa2af805348d03b11eb853850859654f6/tensor_grid.Grid

def linked_source source · line 955 · raw

@+sides:Sides -> @+axis:Nat -> @+extent:U32 -> 0xa2af805348d03b11eb853850859654f6/tensor_tasks.Source

def anchor_source source · line 959 · raw

@+sides:Sides -> 0xa2af805348d03b11eb853850859654f6/tensor_tasks.Source

def crossing_readings source · line 974 · raw

@+target_grid:0xa2af805348d03b11eb853850859654f6/tensor_grid.Grid -> @cells:List<&2, U32> -> @+index:U32 -> List<&2, 0xa2af805348d03b11eb853850859654f6/tensor_tasks.Reading>

def groups_reading source · line 979 · raw

@+sides:Sides -> @+groups:U32 -> @+index:U32 -> 0xa2af805348d03b11eb853850859654f6/tensor_tasks.Reading

def split_readings source · line 985 · raw

@found:Maybe<&2, List<&2, Link>> -> @+shape:List<&2, U32> -> @+cells:List<&2, U32> -> @+sides:Sides -> @+outermost:Bool -> @+groups:U32 -> List<&2, 0xa2af805348d03b11eb853850859654f6/tensor_tasks.Reading>

How every target cell axis reads the source cells: the groups of the new lanes repeat the cells of their anchor. Axes that do not pair read across the source, which a task then holds whole.

def split_cells_of source · line 992 · raw

@+split:Split -> @+links:Maybe<&2, List<&2, Link>> -> @+shape:List<&2, U32> -> @+cells:List<&2, U32> -> @+source_cells:List<&2, U32> -> @+lane:Nat -> @+workers:U32 -> @pieces:0xa2af805348d03b11eb853850859654f6/tensor_pieces.Pieces(0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8) -> 0xa2af805348d03b11eb853850859654f6/tensor_pieces.Pieces(0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8)

def split_status source · line 1001 · raw

@status:0xa2af805348d03b11eb853850859654f6/tensor.Status -> @+split:Split -> @+links:Maybe<&2, List<&2, Link>> -> @+shape:List<&2, U32> -> @+cells:List<&2, U32> -> @+source_cells:List<&2, U32> -> @+lane:Nat -> @+workers:U32 -> @pieces:0xa2af805348d03b11eb853850859654f6/tensor_pieces.Pieces(0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8) -> 0xa2af805348d03b11eb853850859654f6/tensor.Tensor<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>

def split_lanes source · line 1011 · raw

@tiled:Tiled -> @+shape:List<&2, U32> -> @+axis:Nat -> @+outer:U32 -> @+anchors:U32 -> @+width:U32 -> @+after:U32 -> Tiled

The tiled form reshaped to extents shape that split its lane axis into axis, of anchors indices, and the next, of width, with outer elements before them and after elements after: the lanes move to the next axis, the groups keeping their position.

def along_when source · line 1020 · raw

@same:Bool -> @tiled:Tiled -> @+axis:Nat -> @+position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> Tiled

The tiled form with its lanes on an axis: itself when they lie there, otherwise its cells relaned.

def along source · line 1025 · raw

@tiled:Tiled -> @+axis:Nat -> Tiled

def scaled_axes source · line 1034 · raw

@extents:List<&2, U32> -> @strides:List<&2, U32> -> @+stride:U32 -> List<&2, 0xa2af805348d03b11eb853850859654f6/tensor_view.Axis>

The view of cells with the groups at one end that reads them with the groups at the other.

def inner_axes source · line 1039 · raw

@+extents:List<&2, U32> -> @+stride:U32 -> List<&2, 0xa2af805348d03b11eb853850859654f6/tensor_view.Axis>

def repositioned_view source · line 1042 · raw

@position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> @+cells:List<&2, U32> -> List<&2, 0xa2af805348d03b11eb853850859654f6/tensor_view.Axis>

def repositioned_when source · line 1052 · raw

@same:Bool -> @tiled:Tiled -> @+position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> Tiled

def repositioned source · line 1063 · raw

@tiled:Tiled -> @+position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> Tiled

The tiled form with its groups at position. Lanes on the unit axis have no groups to move: the cells stay and read the same at either position.

def arranged_when source · line 1070 · raw

@same:Bool -> @tiled:Tiled -> @+axis:Nat -> @+position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> Tiled

The tiled form with its lanes on an axis and its groups at position, in one pass.

def arranged source · line 1075 · raw

@tiled:Tiled -> @+axis:Nat -> @+position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> Tiled

def lanes_between source · line 1083 · raw

@+start:U32 -> @+end:U32 -> @+base:U32 -> @inside:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @outside:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8

The lanes of inside whose channel, base plus the lane, lies from start below end, the others of outside.

def cell_of source · line 1104 · raw

@position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> @+other:U32 -> @+group:U32 -> @+groups:U32 -> @+others:U32 -> U32

The cell of group group at other index other.

def others_of source · line 1114 · raw

@position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> @+groups:U32 -> @+others:U32 -> @+first:U32 -> @+count:U32 -> @+group:U32 -> Others

def touched_written source · line 1125 · raw

@+start:U32 -> @+end:U32 -> @+base:U32 -> @+local:U32 -> @value:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @target:0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> @part:0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> @read:Pair(0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8) -> Writing

def touched_high source · line 1130 · raw

@+shift:U32 -> @+start:U32 -> @+end:U32 -> @+base:U32 -> @+local:U32 -> @below:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @target:0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> @output:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> @pair:Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8) -> Writing

def touched_low source · line 1135 · raw

@+shift:U32 -> @+start:U32 -> @+end:U32 -> @+base:U32 -> @+local:U32 -> @further:Bool -> @+next:U32 -> @target:0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> @output:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> @pair:Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8) -> Writing

def touched_cell source · line 1142 · raw

@+write:Write -> @+first:U32 -> @+group:U32 -> @+other:U32 -> @writing:Writing -> Writing

A target cell the part reaches: the part cells of its first lane and the next joined, their lanes the part reaches put over its own.

def touched_when source · line 1153 · raw

@inside:Bool -> @+write:Write -> @+first:U32 -> @+group:U32 -> @+other:U32 -> @writing:Writing -> Writing

def touched_others source · line 1158 · raw

@fuel:Nat -> @+write:Write -> @+first:U32 -> @+count:U32 -> @+group:U32 -> @+other:U32 -> @writing:Writing -> Writing

def touched_range source · line 1168 · raw

@found:Others -> @+write:Write -> @+first:U32 -> @+count:U32 -> @+group:U32 -> @writing:Writing -> Writing

def touched_group source · line 1172 · raw

@+write:Write -> @+first:U32 -> @+count:U32 -> @+group:U32 -> @writing:Writing -> Writing

def touched_groups source · line 1176 · raw

@fuel:Nat -> @+write:Write -> @+first:U32 -> @+count:U32 -> @+group:U32 -> @writing:Writing -> Writing

def write_done source · line 1181 · raw

@rest:0xa2af805348d03b11eb853850859654f6/tensor.Holdings<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> @writing:Writing -> Pair(0xa2af805348d03b11eb853850859654f6/tensor.Holdings<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>)

def write_part source · line 1187 · raw

@rest:0xa2af805348d03b11eb853850859654f6/tensor.Holdings<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> @+write:Write -> @+first:U32 -> @+count:U32 -> @copied:Pair(0xa2af805348d03b11eb853850859654f6/tensor_move.Holding<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>) -> Pair(0xa2af805348d03b11eb853850859654f6/tensor.Holdings<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>)

The groups the part reaches, from the group of its first index to that of its last.

def write_hole source · line 1203 · raw

@exact:Bool -> @rest:0xa2af805348d03b11eb853850859654f6/tensor.Holdings<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> @+write:Write -> @+first:U32 -> @+count:U32 -> @behind:0xa2af805348d03b11eb853850859654f6/tensor_move.Stack<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> @below:0xa2af805348d03b11eb853850859654f6/tensor_move.Stack<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> @+start:U32 -> @+span:U32 -> @buffer:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> Pair(0xa2af805348d03b11eb853850859654f6/tensor.Holdings<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>)

The target piece that holds exactly the cells of a target piece is taken out of the target and written in place, and the pieces before it are let go: the later target pieces of a task start after it. Otherwise its cells are copied.

def write_lent source · line 1211 · raw

@rest:0xa2af805348d03b11eb853850859654f6/tensor.Holdings<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> @+write:Write -> @+first:U32 -> @+count:U32 -> @band:0xa2af805348d03b11eb853850859654f6/tensor_move.Band<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> Pair(0xa2af805348d03b11eb853850859654f6/tensor.Holdings<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>)

def write_gather source · line 1219 · raw

@+write:Write -> @+components:0xa2af805348d03b11eb853850859654f6/tensor_tasks.Components -> @+first:U32 -> @+count:U32 -> @+fill:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @input:0xa2af805348d03b11eb853850859654f6/tensor.Holdings<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> Pair(0xa2af805348d03b11eb853850859654f6/tensor.Holdings<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>, 0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>)

A target piece: the target's own piece, then every cell the part reaches written.

def own_readings source · line 1226 · raw

@extents:List<&2, U32> -> @+grid:0xa2af805348d03b11eb853850859654f6/tensor_grid.Grid -> @+index:U32 -> List<&2, 0xa2af805348d03b11eb853850859654f6/tensor_tasks.Reading>

Every target cell axis reads the same index of the target.

def part_readings source · line 1234 · raw

@extents:List<&2, U32> -> @+part_grid:0xa2af805348d03b11eb853850859654f6/tensor_grid.Grid -> @+grid:0xa2af805348d03b11eb853850859654f6/tensor_grid.Grid -> @+groups_axis:U32 -> @+start:U32 -> @+part_groups:U32 -> @+index:U32 -> List<&2, 0xa2af805348d03b11eb853850859654f6/tensor_tasks.Reading>

Every target cell axis reads the same index of the part, but the groups: group k reads the part groups from (8k - start) / 8 to (8k + 7 - start) / 8, none below the first.

def lanes_write source · line 1243 · raw

@empty:Bool -> @+write:Write -> @pieces:0xa2af805348d03b11eb853850859654f6/tensor_pieces.Pieces(0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8) -> @part_pieces:0xa2af805348d03b11eb853850859654f6/tensor_pieces.Pieces(0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8) -> @+cells:List<&2, U32> -> @+part_cells:List<&2, U32> -> @+fill:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @status:0xa2af805348d03b11eb853850859654f6/tensor.Status -> @+workers:U32 -> 0xa2af805348d03b11eb853850859654f6/tensor.Tensor<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>

def lanes_parted source · line 1256 · raw

@+start:U32 -> @+lane:Nat -> @+lanes:U32 -> @+position:0xa2af805348d03b11eb853850859654f6/tensor_grid.Position -> @pieces:0xa2af805348d03b11eb853850859654f6/tensor_pieces.Pieces(0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8) -> @+cells:List<&2, U32> -> @+fill:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @status:0xa2af805348d03b11eb853850859654f6/tensor.Status -> @+workers:U32 -> @part:Tiled -> Tiled

def lanes_written source · line 1267 · raw

@target:Tiled -> @+start:U32 -> @part:Tiled -> Tiled

The part, of the extents of a usable target but along its lane axis, written into the target from index start of the lane axis: the target keeps its lanes, every cell the part reaches takes the lanes the part writes.

def lane_axis_of source · line 1274 · raw

@tiled:Tiled -> Pair(Tiled, Nat)

The lane axis of a tiled tensor.

def position_of source · line 1278 · raw

@tiled:Tiled -> Pair(Tiled, 0xa2af805348d03b11eb853850859654f6/tensor_grid.Position)

def longest_other source · line 1289 · raw

@shape:List<&2, U32> -> @+skip:Nat -> @+index:Nat -> @+best:Nat -> @+extent:U32 -> Nat

The axis of the largest extent but skip, the later among equal extents, or the unit axis past the last when no other axis has one.

def with_status source · line 1297 · raw

@status:0xa2af805348d03b11eb853850859654f6/tensor.Status -> @tiled:Tiled -> Tiled

def cells_of source · line 1302 · raw

@tiled:Tiled -> 0xa2af805348d03b11eb853850859654f6/tensor.Tensor<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>

The cells of a tiled tensor.

def listed source · line 1308 · raw

@tiled:Tiled -> Result<&2, &2, 0xa2af805348d03b11eb853850859654f6/tensor.Problem, List<&2, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>>

The cells of every group of the first axis in order, the groups outermost: the tiles of a tensor read as [C].

def unit_tile source · line 1314 · raw

@value:F32 -> 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8

A cell of the unit axis: the value in its first lane, +0 in the others.

def unit_cells source · line 1319 · raw

@tiled:Tiled -> 0xa2af805348d03b11eb853850859654f6/tensor.Tensor<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8>

The cells of a tiled tensor with its lanes on the unit axis of its shape: one value a cell, in the shape of the tensor.

def unit source · line 1323 · raw

@cells:0xa2af805348d03b11eb853850859654f6/tensor.Tensor<0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8> -> Tiled

Cells of one value each, the lanes on the unit axis of their shape.

Templates

template with_values source · line 236 · raw

@-Result:Type -> @tiled:Tiled -> @body:(@_:0xa2af805348d03b11eb853850859654f6/storage_buffer.Buffer<F32> -> @_:List<&2, U32> -> @_:0xa2af805348d03b11eb853850859654f6/tensor.Status -> @_:U32 -> Result) -> Result

The values of a tiled tensor in row-major order of its logical shape, one buffer, with the shape, status and worker count.

template block_read source · line 460 · raw

@-Reader:Type -> @-read:(@_:Reader -> @_:U32 -> Pair(Reader, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8)) -> @wanted:Bool -> @+source:U32 -> @+step:U32 -> @+index:U32 -> @reader:Reader -> Pair(Reader, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8)

Cell j of a block read, or +0 past the cells it reads.

template read_next source · line 465 · raw

@-Reader:Type -> @-read:(@_:Reader -> @_:U32 -> Pair(Reader, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8)) -> @+reads:U32 -> @+source:U32 -> @+step:U32 -> @+index:U32 -> @reader:Reader -> Pair(Reader, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8)

template after_eighth source · line 470 · raw

@-Reader:Type -> @+c0:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @+c1:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @+c2:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @+c3:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @+c4:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @+c5:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @+c6:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @pair:Pair(Reader, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8) -> Pair(Reader, Eight)

The eight cells of a block, cell j read from source + j * step: each read hands the reader to the next.

template after_seventh source · line 474 · raw

@-Reader:Type -> @-read:(@_:Reader -> @_:U32 -> Pair(Reader, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8)) -> @+reads:U32 -> @+source:U32 -> @+step:U32 -> @+c0:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @+c1:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @+c2:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @+c3:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @+c4:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @+c5:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @pair:Pair(Reader, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8) -> Pair(Reader, Eight)

template after_sixth source · line 479 · raw

@-Reader:Type -> @-read:(@_:Reader -> @_:U32 -> Pair(Reader, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8)) -> @+reads:U32 -> @+source:U32 -> @+step:U32 -> @+c0:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @+c1:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @+c2:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @+c3:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @+c4:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @pair:Pair(Reader, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8) -> Pair(Reader, Eight)

template after_fifth source · line 483 · raw

@-Reader:Type -> @-read:(@_:Reader -> @_:U32 -> Pair(Reader, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8)) -> @+reads:U32 -> @+source:U32 -> @+step:U32 -> @+c0:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @+c1:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @+c2:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @+c3:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @pair:Pair(Reader, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8) -> Pair(Reader, Eight)

template after_fourth source · line 487 · raw

@-Reader:Type -> @-read:(@_:Reader -> @_:U32 -> Pair(Reader, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8)) -> @+reads:U32 -> @+source:U32 -> @+step:U32 -> @+c0:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @+c1:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @+c2:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @pair:Pair(Reader, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8) -> Pair(Reader, Eight)

template after_third source · line 491 · raw

@-Reader:Type -> @-read:(@_:Reader -> @_:U32 -> Pair(Reader, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8)) -> @+reads:U32 -> @+source:U32 -> @+step:U32 -> @+c0:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @+c1:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @pair:Pair(Reader, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8) -> Pair(Reader, Eight)

template after_second source · line 495 · raw

@-Reader:Type -> @-read:(@_:Reader -> @_:U32 -> Pair(Reader, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8)) -> @+reads:U32 -> @+source:U32 -> @+step:U32 -> @+c0:0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8 -> @pair:Pair(Reader, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8) -> Pair(Reader, Eight)

template after_first source · line 499 · raw

@-Reader:Type -> @-read:(@_:Reader -> @_:U32 -> Pair(Reader, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8)) -> @+reads:U32 -> @+source:U32 -> @+step:U32 -> @pair:Pair(Reader, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8) -> Pair(Reader, Eight)

template eight_read source · line 503 · raw

@-Reader:Type -> @-read:(@_:Reader -> @_:U32 -> Pair(Reader, 0xa2af805348d03b11eb853850859654f6/kernel_tile.Tile8)) -> @+reads:U32 -> @+source:U32 -> @+step:U32 -> @reader:Reader -> Pair(Reader, Eight)

template with_metadata source · line 1283 · raw

@-Result:Type -> @tiled:Tiled -> @body:(@_:Tiled -> @_:List<&2, U32> -> @_:0xa2af805348d03b11eb853850859654f6/tensor.Status -> @_:U32 -> Result) -> Result

The metadata of a tiled tensor: its extents, status and worker count.