Graphite  0.5.0
GPU-accelerated graph optimization framework
Loading...
Searching...
No Matches
graphite::cudssSolver< T, S, Index > Class Template Reference
Inheritance diagram for graphite::cudssSolver< T, S, Index >:
Collaboration diagram for graphite::cudssSolver< T, S, Index >:

Public Member Functions

 cudssSolver (const cudssSolverOptions &options=cudssSolverOptions())
 
virtual void update_structure (Graph< T, S > *graph, StreamPool &streams) override
 
virtual void update_values (Graph< T, S > *graph, StreamPool &streams) override
 
virtual void set_damping_factor (Graph< T, S > *graph, T damping_factor, const bool use_identity, StreamPool &streams) override
 
virtual bool solve (Graph< T, S > *graph, T *x, StreamPool &streams) override
 

Private Member Functions

void fill_matrix_structure ()
 
void fill_matrix_values ()
 

Private Attributes

Hessian< T, S > H
 
CSCMatrix< S, Index > d_matrix
 
cudssMatrixType_t matrix_type
 
bool factorization_failed
 
cudaStream_t stream
 
cudssHandle_t handle
 
cudssConfig_t solver_config
 
cudssData_t solver_data
 
cudssMatrix_t m_x
 
cudssMatrix_t m_b
 
cudssMatrix_t m_A
 
thrust::device_vector< T > solver_x
 
int64_t configured_hybrid_memory_limit
 

Member Function Documentation

◆ set_damping_factor()

template<typename T , typename S , typename Index = int32_t>
virtual void graphite::cudssSolver< T, S, Index >::set_damping_factor ( Graph< T, S > *  graph,
damping_factor,
const bool  use_identity,
StreamPool streams 
)
inlineoverridevirtual

◆ solve()

template<typename T , typename S , typename Index = int32_t>
virtual bool graphite::cudssSolver< T, S, Index >::solve ( Graph< T, S > *  graph,
T *  x,
StreamPool streams 
)
inlineoverridevirtual

◆ update_structure()

template<typename T , typename S , typename Index = int32_t>
virtual void graphite::cudssSolver< T, S, Index >::update_structure ( Graph< T, S > *  graph,
StreamPool streams 
)
inlineoverridevirtual

◆ update_values()

template<typename T , typename S , typename Index = int32_t>
virtual void graphite::cudssSolver< T, S, Index >::update_values ( Graph< T, S > *  graph,
StreamPool streams 
)
inlineoverridevirtual

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