![]() |
cuLite v0.3.1
A lite CUDA C++ Interface
|
The partial pivoting LU linear solver for dense device matrices. More...

Public Member Functions | |
| LapackLU (CuSolverHandler &cusolver=globalCuSolverHandler()) | |
| Constructor. | |
| ~LapackLU ()=default | |
| Destructor. | |
| Public Member Functions inherited from culite::LapackBase< T_Matrix > | |
| void | reserve (const T_Matrix &mat) |
| Reserves workspace memory for matrix decomposition. | |
| void | clear () |
| Clears the solver internal data. | |
| void | decompose (const T_Matrix &mat) |
| Performs matrix decomposition. | |
| void | solve (T_Matrix &rhs) const |
| Performs in-place matrix solution. | |
| void | solve (T_Vector &rhs) const |
| Performs in-place vector solution. | |
The partial pivoting LU linear solver for dense device matrices.
Implements the LU decomposition with partial pivoting \( P A = L U \) for general matrices stored in device memory. This is the GPU version using cuSOLVER.
| T_Matrix | The device matrix type (e.g., dns::XxMatrix<T_Scalar>). |
|
inline |
Constructor.
Initializes the LU solver with the specified cuSOLVER handler.
| [in] | cusolver | Reference to the cuSOLVER handler (defaults to global handler). |
|
default |
Destructor.
Destroys the solver and releases allocated resources.