votca 2024-dev
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
votca::xtp::CudaMatrixBlock< M > Class Template Reference

#include <cudamatrix.h>

Public Member Functions

 CudaMatrixBlock (const M &mat, Index rowoffset, Index coloffset, Index rows, Index cols)
 
Index size () const
 
Index rows () const
 
Index cols () const
 
Index ld () const
 
double * data () const
 

Static Public Member Functions

static constexpr bool transposed ()
 

Private Attributes

const M & mat_
 
Index rows_
 
Index cols_
 
Index start_
 

Detailed Description

template<class M>
class votca::xtp::CudaMatrixBlock< M >

Definition at line 61 of file cudamatrix.h.

Constructor & Destructor Documentation

◆ CudaMatrixBlock()

template<class M >
votca::xtp::CudaMatrixBlock< M >::CudaMatrixBlock ( const M &  mat,
Index  rowoffset,
Index  coloffset,
Index  rows,
Index  cols 
)
inline

Definition at line 63 of file cudamatrix.h.

Member Function Documentation

◆ cols()

template<class M >
Index votca::xtp::CudaMatrixBlock< M >::cols ( ) const
inline

Definition at line 75 of file cudamatrix.h.

◆ data()

template<class M >
double * votca::xtp::CudaMatrixBlock< M >::data ( ) const
inline

Definition at line 77 of file cudamatrix.h.

◆ ld()

template<class M >
Index votca::xtp::CudaMatrixBlock< M >::ld ( ) const
inline

Definition at line 76 of file cudamatrix.h.

◆ rows()

template<class M >
Index votca::xtp::CudaMatrixBlock< M >::rows ( ) const
inline

Definition at line 74 of file cudamatrix.h.

◆ size()

template<class M >
Index votca::xtp::CudaMatrixBlock< M >::size ( ) const
inline

Definition at line 73 of file cudamatrix.h.

◆ transposed()

template<class M >
static constexpr bool votca::xtp::CudaMatrixBlock< M >::transposed ( )
inlinestaticconstexpr

Definition at line 79 of file cudamatrix.h.

Member Data Documentation

◆ cols_

template<class M >
Index votca::xtp::CudaMatrixBlock< M >::cols_
private

Definition at line 84 of file cudamatrix.h.

◆ mat_

template<class M >
const M& votca::xtp::CudaMatrixBlock< M >::mat_
private

Definition at line 82 of file cudamatrix.h.

◆ rows_

template<class M >
Index votca::xtp::CudaMatrixBlock< M >::rows_
private

Definition at line 83 of file cudamatrix.h.

◆ start_

template<class M >
Index votca::xtp::CudaMatrixBlock< M >::start_
private

Definition at line 85 of file cudamatrix.h.


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