DILUKernels.hpp File Reference
#include <cstddef>
#include <cuda.h>
#include <cuda_runtime.h>
#include <vector>
Include dependency graph for DILUKernels.hpp:

Go to the source code of this file.

Namespaces

namespace  Opm
 
namespace  Opm::gpuistl
 
namespace  Opm::gpuistl::detail
 
namespace  Opm::gpuistl::detail::DILU
 

Functions

template<class T , int blocksize>
void Opm::gpuistl::detail::DILU::solveLowerLevelSet (T *reorderedMat, int *rowIndices, int *colIndices, int *indexConversion, int startIdx, int rowsInLevelSet, const T *dInv, const T *d, T *v, int threadBlockSize)
 Perform a lower solve on certain rows in a matrix that can safely be computed in parallel. More...
 
template<class T , int blocksize>
void Opm::gpuistl::detail::DILU::solveLowerLevelSetSplit (T *reorderedUpperMat, int *rowIndices, int *colIndices, int *indexConversion, int startIdx, int rowsInLevelSet, const T *dInv, const T *d, T *v, int threadBlockSize)
 Perform a lower solve on certain rows in a matrix that can safely be computed in parallel. More...
 
template<class T , int blocksize>
void Opm::gpuistl::detail::DILU::solveUpperLevelSet (T *reorderedMat, int *rowIndices, int *colIndices, int *indexConversion, int startIdx, int rowsInLevelSet, const T *dInv, T *v, int threadBlockSize)
 Perform an upper solve on certain rows in a matrix that can safely be computed in parallel. More...
 
template<class T , int blocksize>
void Opm::gpuistl::detail::DILU::solveUpperLevelSetSplit (T *reorderedUpperMat, int *rowIndices, int *colIndices, int *indexConversion, int startIdx, int rowsInLevelSet, const T *dInv, T *v, int threadBlockSize)
 Perform an upper solve on certain rows in a matrix that can safely be computed in parallel. More...
 
template<class T , int blocksize>
void Opm::gpuistl::detail::DILU::computeDiluDiagonal (T *reorderedMat, int *rowIndices, int *colIndices, int *reorderedToNatural, int *naturalToReordered, int startIdx, int rowsInLevelSet, T *dInv, int threadBlockSize)
 Computes the ILU0 of the diagonal elements of the reordered matrix and stores it in a reordered vector containing the diagonal blocks. More...
 
template<class T , int blocksize>
void Opm::gpuistl::detail::DILU::computeDiluDiagonalSplit (T *reorderedLowerMat, int *lowerRowIndices, int *lowerColIndices, T *reorderedUpperMat, int *upperRowIndices, int *upperColIndices, T *diagonal, int *reorderedToNatural, int *naturalToReordered, int startIdx, int rowsInLevelSet, T *dInv, int threadBlockSize)
 Computes the ILU0 of the diagonal elements of the split reordered matrix and stores it in a reordered vector containing the diagonal blocks. More...