Tpetra parallel linear algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Tpetra_Details_Behavior.hpp
Go to the documentation of this file.
1 #ifndef TPETRA_DETAILS_BEHAVIOR_HPP
2 #define TPETRA_DETAILS_BEHAVIOR_HPP
3 
7 
8 namespace Tpetra {
9 namespace Details {
10 
78 class Behavior {
79 public:
86  static bool debug ();
87 
93  static bool debug (const char name[]);
94 
100  static bool verbose ();
101 
107  static bool verbose (const char name[]);
108 
110  static void disable_verbose_behavior ();
111 
113  static void enable_verbose_behavior ();
114 
123  static bool assumeMpiIsCudaAware ();
124 
129 
130  static int TAFC_OptimizationCoreCount ();
131 
132 };
133 
134 } // namespace Details
135 } // namespace Tpetra
136 
137 #endif // TPETRA_DETAILS_BEHAVIOR_HPP
static int TAFC_OptimizationCoreCount()
The core count above which Tpetra::CrsMatrix::transferAndFillComplere will attempt to do advanced nei...
static void disable_verbose_behavior()
Disable verbose mode, programatically.
static bool debug()
Whether Tpetra is in debug mode.
static bool assumeMpiIsCudaAware()
Whether to assume that MPI is CUDA aware.
static bool verbose()
Whether Tpetra is in verbose mode.
static void enable_verbose_behavior()
Enable verbose mode, programatically.
Description of Tpetra's behavior.