Loading...
Searching...
No Matches
gpr::linalg::BackendTraits< Backend > Struct Template Reference

Detailed Description

template<class Backend>
struct gpr::linalg::BackendTraits< Backend >

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.

Definition at line 194 of file BackendInterface.h.


The documentation for this struct was generated from the following file: