Module contiguous

Module contiguous 

Source
Expand description

GEMM-ready operand types and preparation functions for contiguous data. GEMM-ready operand types and preparation functions for contiguous data.

These types encapsulate the logic for preparing strided operands for GEMM: checking fusability, copying to col-major buffers when needed, and managing the writeback for borrowed output operands.

Structs§

ContiguousOperand
GEMM-ready input operand with contiguous data.
ContiguousOperandMut
GEMM-ready output operand with contiguous data.

Functions§

prepare_input_owned
Prepare an owned input array for GEMM.
prepare_input_view
Prepare a borrowed input view for GEMM.
prepare_input_view_for_backend
Prepare a borrowed input view for a generic GEMM backend.
prepare_output_owned
Prepare an owned mutable output array for GEMM.
prepare_output_view
Prepare a borrowed mutable output view for GEMM.
prepare_output_view_for_backend
Prepare a borrowed mutable output view for a generic GEMM backend.