Eigen-Contrib  5.0.1
 
Loading...
Searching...
No Matches
Eigen::gpu::SparseLLT< Scalar_, UpLo_ > Class Template Reference

#include <contrib/Eigen/src/GPU/GpuSparseLLT.h>

Detailed Description

template<typename Scalar_, int UpLo_ = Lower>
class Eigen::gpu::SparseLLT< Scalar_, UpLo_ >

GPU sparse Cholesky factorization (LL^T for real, LL^H for complex).

Wraps cuDSS with CUDSS_MTYPE_SPD (real) or CUDSS_MTYPE_HPD (complex). Accepts ColMajor SparseMatrix (CSC), reinterpreted as CSR with swapped triangle view for zero-copy upload.

Template Parameters
Scalar_float, double, complex<float>, or complex<double>
UpLo_Lower (default) or Upper — which triangle of A is stored
+ Inheritance diagram for Eigen::gpu::SparseLLT< Scalar_, UpLo_ >:

Public Member Functions

 SparseLLT (Context &ctx)
 
template<typename InputType>
 SparseLLT (Context &ctx, const SparseMatrixBase< InputType > &A)
 
- Public Member Functions inherited from Eigen::gpu::internal::SparseSolverBase< Scalar_, SparseLLT< Scalar_, Lower > >
SparseLLT< Scalar_, Lower > & analyzePattern (const SparseMatrixBase< InputType > &A)
 
SparseLLT< Scalar_, Lower > & compute (const SparseMatrixBase< InputType > &A)
 
const SparseSolverConfig & config () const
 
SparseLLT< Scalar_, Lower > & factorize (const SparseMatrixBase< InputType > &A)
 
SparseLLT< Scalar_, Lower > & setConfig (const SparseSolverConfig &cfg)
 
DeviceMatrix< Scalar > solve (const DeviceMatrix< Scalar > &d_B) const
 
DenseMatrix solve (const MatrixBase< Rhs > &B) const
 
 SparseSolverBase (Context &ctx)
 

Constructor & Destructor Documentation

◆ SparseLLT() [1/2]

template<typename Scalar_, int UpLo_ = Lower>
Eigen::gpu::SparseLLT< Scalar_, UpLo_ >::SparseLLT ( Context & ctx)
inlineexplicit

Borrow ctx's stream so solves chain with other work on the same Context. ctx must outlive this object.

◆ SparseLLT() [2/2]

template<typename Scalar_, int UpLo_ = Lower>
template<typename InputType>
Eigen::gpu::SparseLLT< Scalar_, UpLo_ >::SparseLLT ( Context & ctx,
const SparseMatrixBase< InputType > & A )
inline

Borrow ctx's stream and factor A immediately.


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