Tpetra parallel linear algebra Version of the Day
|
Declaration and definition of Tpetra::Details::Blas::fill, an implementation detail of Tpetra::MultiVector. More...
Go to the source code of this file.
Classes | |
class | Tpetra::Details::Blas::Impl::Fill< ViewType, ValueType, ExecutionSpace, IndexType, rank > |
Implementation of Tpetra::Details::Blas::fill. More... | |
class | Tpetra::Details::Blas::Impl::Fill< ViewType, ValueType, ExecutionSpace, IndexType, 1 > |
Specialization for rank-1 Views. More... | |
class | Tpetra::Details::Blas::Impl::Fill< ViewType, ValueType, ExecutionSpace, IndexType, 2 > |
Specialization for rank-2 Views. More... | |
Namespaces | |
namespace | Tpetra |
Namespace Tpetra contains the class and methods constituting the Tpetra library. | |
namespace | Tpetra::Details |
Nonmember function that computes a residual Computes R = B - A * X. | |
Functions | |
void * | Tpetra::Details::Blas::Impl::memsetWrapper (void *dest, int ch, std::size_t count) |
Wrap std::memset, to avoid exposing unnecessary includes. | |
template<class ViewType , class ValueType , class IndexType , class ExecutionSpace > | |
void | Tpetra::Details::Blas::fill (const ExecutionSpace &execSpace, const ViewType &X, const ValueType &alpha, const IndexType numRows, const IndexType numCols) |
Fill the entries of the given 1-D or 2-D Kokkos::View with the given scalar value alpha. | |
Declaration and definition of Tpetra::Details::Blas::fill, an implementation detail of Tpetra::MultiVector.
Search for "SKIP TO HERE FOR THE ACTUAL INTERFACE" (sans quotes) to find the actual interface that Tpetra developers are supposed to use.
Definition in file Tpetra_Details_fill.hpp.
Wrap std::memset, to avoid exposing unnecessary includes.
Definition at line 51 of file Tpetra_Details_fill.cpp.
void Tpetra::Details::Blas::fill | ( | const ExecutionSpace & | execSpace, |
const ViewType & | X, | ||
const ValueType & | alpha, | ||
const IndexType | numRows, | ||
const IndexType | numCols ) |
Fill the entries of the given 1-D or 2-D Kokkos::View with the given scalar value alpha.
ViewType | Kokkos::View specialization. |
ValueType | Type of the scalar value alpha to assign to each entry of X. |
IndexType | Type of the index to use in loops. |
Definition at line 291 of file Tpetra_Details_fill.hpp.