template struct gpr::linalg::BackendTraits

Description of a local dense backend. Specialised once per backend tag.

matrix_type and vector_type are the operand types of the operation set. Host backends use EigenMatrix and Eigen::VectorXd. A backend whose operands stay in device memory between calls names its resident matrix type and sets resident.

resident is true only when an operation set call reads and writes operands in memory without staging through host memory.

retains_factor is true when the backend’s BackendContext keeps a copy of the physical host factor in memory between solves, so repeated solves against one factor upload it once. Operands and results still cross the host interface unless resident is also set.