10#include "Tpetra_Details_WrappedDualView.hpp"
20 throw std::runtime_error(
"WrappedDualView refcount tracking is already enabled!");
27 throw std::runtime_error(
"WrappedDualView refcount tracking is already disabled!");
Nonmember function that computes a residual Computes R = B - A * X.
void disableWDVTracking()
Disable WrappedDualView reference-count tracking and syncing. Call this before entering a host-parall...
bool wdvTrackingEnabled
Whether WrappedDualView reference count checking is enabled. Initially true. Since the DualView sync ...
void enableWDVTracking()
Enable WrappedDualView reference-count tracking and syncing. Call this after exiting a host-parallel ...
Namespace Tpetra contains the class and methods constituting the Tpetra library.