Tpetra parallel linear algebra
Version of the Day
Loading...
Searching...
No Matches
core
src
Tpetra_Details_DualViewUtil.cpp
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
#include "Tpetra_Details_DualViewUtil.hpp"
11
#include "Teuchos_TestForException.hpp"
12
13
namespace
Tpetra
{
14
namespace
Details
{
15
16
auto
view_alloc_no_init
(
const
std::string& label) ->
17
decltype
(Kokkos::view_alloc (label, Kokkos::WithoutInitializing))
18
{
19
return
Kokkos::view_alloc (label, Kokkos::WithoutInitializing);
20
}
21
22
}
// namespace Details
23
}
// namespace Tpetra
24
25
26
Tpetra::Details
Nonmember function that computes a residual Computes R = B - A * X.
Definition
Tpetra_KokkosRefactor_Details_MultiVectorLocalDeepCopy.hpp:17
Tpetra::Details::view_alloc_no_init
auto view_alloc_no_init(const std::string &label) -> decltype(Kokkos::view_alloc(label, Kokkos::WithoutInitializing))
Use in place of the string label as the first argument of Kokkos::View's constructor,...
Definition
Tpetra_Details_DualViewUtil.cpp:16
Tpetra
Namespace Tpetra contains the class and methods constituting the Tpetra library.
Generated on
for Tpetra parallel linear algebra by
1.15.0