Tpetra parallel linear algebra Version of the Day
Loading...
Searching...
No Matches
Tpetra_computeRowAndColumnOneNorms_decl.hpp
Go to the documentation of this file.
1// @HEADER
2// *****************************************************************************
3// Tpetra: Templated Linear Algebra Services Package
4//
5// Copyright 2008 NTESS and the Tpetra contributors.
6// SPDX-License-Identifier: BSD-3-Clause
7// *****************************************************************************
8// @HEADER
9
10#ifndef TPETRA_COMPUTEROWANDCOLUMNONENORMS_DECL_HPP
11#define TPETRA_COMPUTEROWANDCOLUMNONENORMS_DECL_HPP
12
15
16#include "TpetraCore_config.h"
17#include "Kokkos_Core.hpp"
18#if KOKKOS_VERSION >= 40799
19#include "KokkosKernels_ArithTraits.hpp"
20#else
21#include "Kokkos_ArithTraits.hpp"
22#endif
25
26namespace Tpetra {
27
40template <class SC, class LO, class GO, class NT>
41#if KOKKOS_VERSION >= 40799
42Details::EquilibrationInfo<typename KokkosKernels::ArithTraits<SC>::val_type,
43#else
44Details::EquilibrationInfo<typename Kokkos::ArithTraits<SC>::val_type,
45#endif
46 typename NT::device_type>
48
75template <class SC, class LO, class GO, class NT>
76#if KOKKOS_VERSION >= 40799
77Details::EquilibrationInfo<typename KokkosKernels::ArithTraits<SC>::val_type,
78#else
79Details::EquilibrationInfo<typename Kokkos::ArithTraits<SC>::val_type,
80#endif
81 typename NT::device_type>
83 const bool assumeSymmetric);
84
85} // namespace Tpetra
86
87#endif // TPETRA_COMPUTEROWANDCOLUMNONENORMS_DECL_HPP
Declaration of Tpetra::Details::EquilibrationInfo.
Forward declaration of Tpetra::RowMatrix.
Struct that holds views of the contents of a CrsMatrix.
Namespace Tpetra contains the class and methods constituting the Tpetra library.
Details::EquilibrationInfo< typename Kokkos::ArithTraits< SC >::val_type, typename NT::device_type > computeRowOneNorms(const Tpetra::RowMatrix< SC, LO, GO, NT > &A)
Compute global row one-norms ("row sums") of the input sparse matrix A, in a way suitable for one-sid...
Details::EquilibrationInfo< typename Kokkos::ArithTraits< SC >::val_type, typename NT::device_type > computeRowAndColumnOneNorms(const Tpetra::RowMatrix< SC, LO, GO, NT > &A, const bool assumeSymmetric)
Compute global row and column one-norms ("row sums" and "column sums") of the input sparse matrix A,...