|
gpuistl/hypreinterface/HypreSetup.hpp
Go to the documentation of this file.
58std::vector<HYPRE_Int> computeRowIndexesWithMappingGpu(const GpuSparseMatrixWrapper<T, ForceLegacy>& gpu_matrix,
154 local_dune_to_local_hypre.begin(), local_dune_to_local_hypre.end(), [](int val) { return val >= 0; });
The GpuSparseMatrixWrapper Checks CUDA/HIP version and dispatches a version either using the old or t... Definition: GpuSparseMatrixWrapper.hpp:62 GpuVector< int > & getRowIndices() getRowIndices returns the row indices used to represent the BSR structure. Definition: GpuSparseMatrixWrapper.hpp:271 std::size_t N() const N returns the number of rows (which is equal to the number of columns) Definition: GpuSparseMatrixWrapper.hpp:232 std::size_t nonzeroes() const nonzeroes behaves as the Dune::BCRSMatrix::nonzeros() function and returns the number of non zero blo... Definition: GpuSparseMatrixWrapper.hpp:241 GpuVector< int > & getColumnIndices() getColumnIndices returns the column indices used to represent the BSR structure. Definition: GpuSparseMatrixWrapper.hpp:291 Definition: gpuistl/hypreinterface/HypreCpuTransfers.hpp:30 std::vector< HYPRE_Int > computeRowIndexesWithMappingGpu(const GpuSparseMatrixWrapper< T, ForceLegacy > &gpu_matrix, const std::vector< int > &local_dune_to_local_hypre) Compute row indexes for GPU matrix with ownership mapping. Definition: gpuistl/hypreinterface/HypreSetup.hpp:150 linalg::HypreInterface::SparsityPattern setupSparsityPatternFromGpuMatrix(const GpuSparseMatrixWrapper< T, ForceLegacy > &gpu_matrix, const linalg::HypreInterface::ParallelInfo &par_info, bool owner_first) Setup sparsity pattern from GPU matrix (GpuSparseMatrix) Definition: gpuistl/hypreinterface/HypreSetup.hpp:71 Parallel domain decomposition information for HYPRE-Dune interface. Definition: HypreDataStructures.hpp:37 std::vector< int > local_dune_to_global_hypre Mapping from local Dune indices to global HYPRE indices. Definition: HypreDataStructures.hpp:51 std::vector< int > local_dune_to_local_hypre Mapping from local Dune indices to local HYPRE indices. Definition: HypreDataStructures.hpp:44 HYPRE_Int N_owned Number of DOFs owned by this MPI process. Definition: HypreDataStructures.hpp:62 Compressed Sparse Row (CSR) sparsity pattern for HYPRE matrix assembly. Definition: HypreDataStructures.hpp:86 HYPRE_Int nnz Number of non-zero entries in matrix. Definition: HypreDataStructures.hpp:97 std::vector< HYPRE_BigInt > cols Global column indices in CSR format (size: nnz) Definition: HypreDataStructures.hpp:94 std::vector< HYPRE_Int > ncols Non-zero entries per owned row (size: N_owned) Definition: HypreDataStructures.hpp:88 std::vector< HYPRE_BigInt > rows Global row indices for owned rows (size: N_owned) Definition: HypreDataStructures.hpp:91 |