Tpetra parallel linear algebra
Version of the Day
|
Declaration and definition of Tpetra::Details::reallocDualViewIfNeeded, an implementation detail of Tpetra. More...
Go to the source code of this file.
Namespaces | |
Tpetra | |
Namespace Tpetra contains the class and methods constituting the Tpetra library. | |
Tpetra::Details | |
Namespace for Tpetra implementation details. | |
Functions | |
template<class ValueType , class DeviceType > | |
bool | Tpetra::Details::reallocDualViewIfNeeded (Kokkos::DualView< ValueType *, DeviceType > &dv, const size_t newSize, const char newLabel[], const size_t tooBigFactor=2, const bool needFenceBeforeRealloc=true) |
Reallocate the DualView in/out argument, if needed. More... | |
template<class ValueType , class DeviceType > | |
bool | Tpetra::Details::reallocDualViewIfNeeded (Kokkos::DualView< ValueType *, DeviceType > &exports, const size_t newSize, const std::string &newLabel, const size_t tooBigFactor=2, const bool needFenceBeforeRealloc=true) |
Like above, but with std::string label argument. More... | |
Declaration and definition of Tpetra::Details::reallocDualViewIfNeeded, an implementation detail of Tpetra.
Definition in file Tpetra_Details_reallocDualViewIfNeeded.hpp.