Compressed Sparse Blocks  1.2
 All Classes Files Functions Variables Typedefs Friends Macros Pages
Public Member Functions | Friends | List of all members
BiCsb< bool, IT > Class Template Reference

#include <bicsb.h>

Public Member Functions

 BiCsb ()
 
 BiCsb (IT size, IT rows, IT cols, int workers)
 
 BiCsb (IT size, IT rows, IT cols, IT *ri, IT *ci, int workers, IT forcelogbeta=0)
 
 BiCsb (const BiCsb< bool, IT > &rhs)
 
 ~BiCsb ()
 
BiCsb< bool, IT > & operator= (const BiCsb< bool, IT > &rhs)
 
template<typename NT >
 BiCsb (Csc< NT, IT > &csc, int workers)
 
IT colsize () const
 
IT rowsize () const
 
IT numnonzeros () const
 
bool isPar () const
 
template<typename SR , typename RHS , typename LHS >
void SubSpMV (IT *__restrict btop, IT bstart, IT bend, const RHS *__restrict x, LHS *__restrict suby) const
 

Friends

template<typename SR , typename NU , typename IU , typename RHS , typename LHS >
void bicsb_gespmv (const BiCsb< NU, IU > &A, const RHS *__restrict x, LHS *__restrict y)
 
template<typename SR , typename NU , typename IU , typename RHS , typename LHS >
void bicsb_gespmvt (const BiCsb< NU, IU > &A, const RHS *__restrict x, LHS *__restrict y)
 
template<class CSB >
float RowImbalance (const CSB &A)
 
template<typename NU , typename IU >
float ColImbalance (const BiCsb< NU, IU > &A)
 

Detailed Description

template<class IT>
class BiCsb< bool, IT >

Definition at line 107 of file bicsb.h.

Constructor & Destructor Documentation

template<class IT >
BiCsb< bool, IT >::BiCsb ( )
inline

Definition at line 110 of file bicsb.h.

template<class IT >
BiCsb< bool, IT >::BiCsb ( IT  size,
IT  rows,
IT  cols,
int  workers 
)

Definition at line 261 of file bicsb.cpp.

template<class IT >
BiCsb< bool, IT >::BiCsb ( IT  size,
IT  rows,
IT  cols,
IT *  ri,
IT *  ci,
int  workers,
IT  forcelogbeta = 0 
)

Definition at line 526 of file bicsb.cpp.

template<class IT >
BiCsb< bool, IT >::BiCsb ( const BiCsb< bool, IT > &  rhs)

Definition at line 295 of file bicsb.cpp.

template<class IT >
BiCsb< bool, IT >::~BiCsb ( )

Definition at line 420 of file bicsb.cpp.

template<class IT >
template<typename NT >
BiCsb< bool, IT >::BiCsb ( Csc< NT, IT > &  csc,
int  workers 
)

Definition at line 468 of file bicsb.cpp.

Member Function Documentation

template<class IT >
IT BiCsb< bool, IT >::colsize ( ) const
inline

Definition at line 122 of file bicsb.h.

template<class IT >
bool BiCsb< bool, IT >::isPar ( ) const
inline

Definition at line 125 of file bicsb.h.

template<class IT >
IT BiCsb< bool, IT >::numnonzeros ( ) const
inline

Definition at line 124 of file bicsb.h.

template<class IT >
BiCsb< bool, IT > & BiCsb< bool, IT >::operator= ( const BiCsb< bool, IT > &  rhs)

Definition at line 362 of file bicsb.cpp.

template<class IT >
IT BiCsb< bool, IT >::rowsize ( ) const
inline

Definition at line 123 of file bicsb.h.

template<class IT >
template<typename SR , typename RHS , typename LHS >
void BiCsb< bool, IT >::SubSpMV ( IT *__restrict  btop,
IT  bstart,
IT  bend,
const RHS *__restrict  x,
LHS *__restrict  suby 
) const

Definition at line 946 of file bicsb.cpp.

Friends And Related Function Documentation

template<class IT >
template<typename SR , typename NU , typename IU , typename RHS , typename LHS >
void bicsb_gespmv ( const BiCsb< NU, IU > &  A,
const RHS *__restrict  x,
LHS *__restrict  y 
)
friend
template<class IT >
template<typename SR , typename NU , typename IU , typename RHS , typename LHS >
void bicsb_gespmvt ( const BiCsb< NU, IU > &  A,
const RHS *__restrict  x,
LHS *__restrict  y 
)
friend
template<class IT >
template<typename NU , typename IU >
float ColImbalance ( const BiCsb< NU, IU > &  A)
friend
template<class IT >
template<class CSB >
float RowImbalance ( const CSB &  A)
friend

Definition at line 400 of file friends.h.


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