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

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

Detailed Description

template<typename Scalar_>
class Eigen::gpu::SparseLU< Scalar_ >

GPU sparse LU factorization (general matrices).

Wraps cuDSS with CUDSS_MTYPE_GENERAL and CUDSS_MVIEW_FULL. Accepts ColMajor SparseMatrix (CSC); internally converts to RowMajor CSR since cuDSS requires CSR input.

Template Parameters
Scalar_float, double, complex<float>, or complex<double>
+ Inheritance diagram for Eigen::gpu::SparseLU< Scalar_ >:

Public Member Functions

 SparseLU (Context &ctx)
 
template<typename InputType>
 SparseLU (Context &ctx, const SparseMatrixBase< InputType > &A)
 
- Public Member Functions inherited from Eigen::gpu::internal::SparseSolverBase< Scalar_, SparseLU< Scalar_ > >
SparseLU< Scalar_ > & analyzePattern (const SparseMatrixBase< InputType > &A)
 
SparseLU< Scalar_ > & compute (const SparseMatrixBase< InputType > &A)
 
const SparseSolverConfig & config () const
 
SparseLU< Scalar_ > & factorize (const SparseMatrixBase< InputType > &A)
 
SparseLU< Scalar_ > & 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

◆ SparseLU() [1/2]

template<typename Scalar_>
Eigen::gpu::SparseLU< Scalar_ >::SparseLU ( Context & ctx)
inlineexplicit

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

◆ SparseLU() [2/2]

template<typename Scalar_>
template<typename InputType>
Eigen::gpu::SparseLU< Scalar_ >::SparseLU ( 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: