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 
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 
117  static bool assumeMpiIsCudaAware ();
118 };
119 
120 } // namespace Details
121 } // namespace Tpetra
122 
123 #endif // TPETRA_DETAILS_BEHAVIOR_HPP
Tpetra::Details::Behavior::assumeMpiIsCudaAware
static bool assumeMpiIsCudaAware()
Whether to assume that MPI is CUDA aware.
Definition: Tpetra_Details_Behavior.cpp:275
Details
Implementation details of Tpetra.
Tpetra::Details::Behavior::debug
static bool debug()
Whether Tpetra is in debug mode.
Definition: Tpetra_Details_Behavior.cpp:245
Tpetra::Details::Behavior
Description of Tpetra's behavior.
Definition: Tpetra_Details_Behavior.hpp:78
Tpetra::Details::Behavior::verbose
static bool verbose()
Whether Tpetra is in verbose mode.
Definition: Tpetra_Details_Behavior.cpp:260
Tpetra
Namespace Tpetra contains the class and methods constituting the Tpetra library.