Tpetra parallel linear algebra  Version of the Day
Tpetra_Details_Behavior.hpp
Go to the documentation of this file.
1 #ifndef TPETRA_DETAILS_BEHAVIOR_HPP
2 #define TPETRA_DETAILS_BEHAVIOR_HPP
3 
4 #include <stddef.h>
5 
9 
10 namespace Tpetra {
11 namespace Details {
12 
80 class Behavior {
81 public:
88  static bool debug ();
89 
95  static bool debug (const char name[]);
96 
102  static bool verbose ();
103 
109  static bool verbose (const char name[]);
110 
112  static void disable_verbose_behavior ();
113 
115  static void enable_verbose_behavior ();
116 
125  static bool assumeMpiIsCudaAware ();
126 
131 
132  static int TAFC_OptimizationCoreCount ();
133 
135  static size_t verbosePrintCountThreshold ();
136 
137 };
138 
139 } // namespace Details
140 } // namespace Tpetra
141 
142 #endif // TPETRA_DETAILS_BEHAVIOR_HPP
Description of Tpetra's behavior.
static void enable_verbose_behavior()
Enable verbose mode, programatically.
static bool assumeMpiIsCudaAware()
Whether to assume that MPI is CUDA aware.
static bool debug()
Whether Tpetra is in debug mode.
static int TAFC_OptimizationCoreCount()
The core count above which Tpetra::CrsMatrix::transferAndFillComplete will attempt to do advanced nei...
static bool verbose()
Whether Tpetra is in verbose mode.
static size_t verbosePrintCountThreshold()
Threshold, below which arrays, lists, etc. will be printed in debug mode.
static void disable_verbose_behavior()
Disable verbose mode, programatically.
Implementation details of Tpetra.
Namespace Tpetra contains the class and methods constituting the Tpetra library.