BackendConfig

Trait BackendConfig 

Source
pub trait BackendConfig {
    const MATERIALIZES_CONJ: bool;
    const REQUIRES_UNIT_STRIDE: bool;
}
Expand description

Static configuration for a GEMM backend.

Each backend declares its requirements so that operand preparation can adapt without per-call cfg checks.

Required Associated Constants§

Source

const MATERIALIZES_CONJ: bool

Whether the backend needs conjugation materialized into the data before GEMM (e.g., CBLAS has no conjugation flag for ?gemm).

Source

const REQUIRES_UNIT_STRIDE: bool

Whether the backend requires at least one unit stride per matrix dimension (row or column stride must be 1). CBLAS ?gemm requires this; faer does not.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§