27#include <ATen/Parallel.h>
33#include "neml2/misc/types.h"
38std::map<std::string, std::map<std::string, unsigned long>> &
timed_sections();
42 TimedSection(
const std::string & name,
const std::string & section);
47 const std::string _name;
48 const std::string _section;
49 const std::chrono::time_point<std::chrono::high_resolution_clock> _t0;
73 at::set_num_interop_threads(
num);
88 at::set_num_threads(
num);
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:56
Definition CrossRef.cxx:30
bool & currently_solving_nonlinear_system()
Definition types.cxx:102
std::map< std::string, std::map< std::string, unsigned long > > & timed_sections()
Definition guards.cxx:33
~InterOpThread()
Definition guards.h:76
InterOpThread(unsigned int num)
Definition guards.h:69
unsigned int prev_num
Definition guards.h:78
~IntraOpThread()
Definition guards.h:91
IntraOpThread(unsigned int num)
Definition guards.h:84
unsigned int prev_num
Definition guards.h:93
~SolvingNonlinearSystem()
Definition guards.h:61
const bool prev_bool
Definition guards.h:63
SolvingNonlinearSystem(bool solving=true)
Definition guards.h:55
~TimedSection()
Definition guards.cxx:46
TimedSection(const std::string &name, const std::string §ion)
Definition guards.cxx:39