19#ifndef OPM_GPUISTL_GPUSPARSE_MATRIX_OPERATIONS_HPP
20#define OPM_GPUISTL_GPUSPARSE_MATRIX_OPERATIONS_HPP
38template <
class T,
int blocksize>
40 const int* srcRowIndices,
43 int* naturalToReordered,
63template <
class T,
int blocksize>
65 const int* srcRowIndices,
66 const int* srcColumnIndices,
68 int* dstLowerRowIndices,
70 int* dstUpperRowIndices,
72 int* naturalToReordered,
Contains wrappers to make the CuBLAS library behave as a modern C++ library with function overlading.
Definition autotuner.hpp:30
void copyMatDataToReorderedSplit(const T *srcMatrix, const int *srcRowIndices, const int *srcColumnIndices, T *dstLowerMatrix, int *dstLowerRowIndices, T *dstUpperMatrix, int *dstUpperRowIndices, T *dstDiag, int *naturalToReordered, size_t numberOfRows, int threadBlockSize)
Reorders the elements of a matrix by copying them from one matrix to a split matrix using a permutati...
void copyMatDataToReordered(const T *srcMatrix, const int *srcRowIndices, T *dstMatrix, int *dstRowIndices, int *naturalToReordered, size_t numberOfRows, int threadBlockSize)
Reorders the elements of a matrix by copying them from one matrix to another using a permutation list...