Module linear

Module linear 

Source

Enums§

LinearLayout
Maps a linear index based on line count to a potentially strided tensor. Only applies the necessary level of striding, either none, only the last dim (for freshly allocated strided tensors), or all dimensions.
LinearLayoutArgs
LinearLayoutCompilationArg
LinearLayoutExpand

Functions§

linear_view
Create a linear tensor view from a handle and line size
linear_view_alias
linear_view_with_reference
Create a possibly broadcast linear tensor view from a handle, reference handle and line size

Type Aliases§

LinearView
[TensorView] with a linear layout inferred from the shape/strides at launch. Useful for elementwise kernels.
LinearViewLaunch
Launch type for [LinearTensorView].