Opm::gpuistl::GpuSparseMatrixGeneric< T > Class Template Reference The GpuSparseMatrixGeneric class uses cuSPARSE Generic API for sparse matrix operations. More...
Inheritance diagram for Opm::gpuistl::GpuSparseMatrixGeneric< T >:
![]()
Detailed Descriptiontemplate<typename T> class Opm::gpuistl::GpuSparseMatrixGeneric< T > The GpuSparseMatrixGeneric class uses cuSPARSE Generic API for sparse matrix operations.
Member Typedef Documentation◆ field_type
template<typename T >
Constructor & Destructor Documentation◆ GpuSparseMatrixGeneric() [1/3]
template<typename T >
Create the sparse matrix specified by the raw data.
◆ GpuSparseMatrixGeneric() [2/3]
template<typename T >
Create a sparse matrix by copying the sparsity structure of another matrix, not filling in the values
◆ GpuSparseMatrixGeneric() [3/3]
template<typename T >
◆ ~GpuSparseMatrixGeneric()
template<typename T >
Member Function Documentation◆ blockSize()
template<typename T >
blockSize size of the blocks References Opm::gpuistl::detail::to_size_t(). ◆ dim()
template<typename T >
dim returns the dimension of the vector space on which this matrix acts This is equivalent to matrix.N() * matrix.blockSize()
References Opm::gpuistl::detail::to_size_t(). ◆ fromMatrix()
template<typename T >
template<class MatrixType >
fromMatrix creates a new matrix with the same block size and values as the given matrix
◆ getColumnIndices() [1/2]
template<typename T >
getColumnIndices returns the column indices used to represent the BSR structure.
◆ getColumnIndices() [2/2]
template<typename T >
getColumnIndices returns the column indices used to represent the BSR structure.
◆ getNonZeroValues() [1/2]
template<typename T >
getNonZeroValues returns the GPU vector containing the non-zero values (ordered by block)
◆ getNonZeroValues() [2/2]
template<typename T >
getNonZeroValues returns the GPU vector containing the non-zero values (ordered by block)
◆ getRowIndices() [1/2]
template<typename T >
getRowIndices returns the row indices used to represent the BSR structure.
◆ getRowIndices() [2/2]
template<typename T >
getRowIndices returns the row indices used to represent the BSR structure.
◆ mv()
template<typename T >
mv performs matrix vector multiply y = Ax
◆ N()
template<typename T >
N returns the number of rows (which is equal to the number of columns) References Opm::gpuistl::detail::to_size_t(). ◆ nonzeroes()
template<typename T >
nonzeroes behaves as the Dune::BCRSMatrix::nonzeros() function and returns the number of non zero blocks
References Opm::gpuistl::detail::to_size_t(). ◆ operator=()
template<typename T >
◆ preprocessSpMV()
template<typename T >
Preprocess SpMV operation to optimize for sparsity pattern. This function preprocesses the sparsity pattern of the matrix to optimize for the SpMV operation. ◆ umv()
template<typename T >
umv computes y=Ax+y
◆ updateNonzeroValues() [1/2]
template<typename T >
updateNonzeroValues updates the non-zero values by using the non-zero values of the supplied matrix
◆ updateNonzeroValues() [2/2]
template<typename T >
template<class MatrixType >
updateNonzeroValues updates the non-zero values by using the non-zero values of the supplied matrix
◆ usmv()
template<typename T >
umv computes y=alpha * Ax + y
The documentation for this class was generated from the following files: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||