27#include <ATen/Parallel.h>
33#include "neml2/misc/types.h"
38std::map<std::string, std::map<std::string, unsigned long>> &
timed_sections();
51 const std::string _name;
52 const std::string _section;
53 const std::chrono::time_point<std::chrono::high_resolution_clock> _t0;
81 at::set_num_interop_threads(
num);
100 at::set_num_threads(
num);
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:54
Definition CrossRef.cxx:31
std::string name(ElasticConstant p)
Definition ElasticityConverter.cxx:30
bool & currently_solving_nonlinear_system()
Definition types.cxx:229
std::map< std::string, std::map< std::string, unsigned long > > & timed_sections()
Definition guards.cxx:33
InterOpThread & operator=(InterOpThread &&)=delete
InterOpThread(int num)
Definition guards.h:77
InterOpThread & operator=(const InterOpThread &)=delete
int prev_num
Definition guards.h:90
InterOpThread(const InterOpThread &)=delete
~InterOpThread()
Definition guards.h:88
InterOpThread(InterOpThread &&)=delete
~IntraOpThread()
Definition guards.h:107
IntraOpThread & operator=(const IntraOpThread &)=delete
IntraOpThread(int num)
Definition guards.h:96
int prev_num
Definition guards.h:109
IntraOpThread & operator=(IntraOpThread &&)=delete
IntraOpThread(const IntraOpThread &)=delete
IntraOpThread(IntraOpThread &&)=delete
SolvingNonlinearSystem(const SolvingNonlinearSystem &)=delete
SolvingNonlinearSystem & operator=(SolvingNonlinearSystem &&)=delete
SolvingNonlinearSystem & operator=(const SolvingNonlinearSystem &)=delete
SolvingNonlinearSystem(SolvingNonlinearSystem &&)=delete
~SolvingNonlinearSystem()
Definition guards.h:69
const bool prev_bool
Definition guards.h:71
SolvingNonlinearSystem(bool solving=true)
Definition guards.h:59
TimedSection & operator=(TimedSection &&)=delete
~TimedSection()
Definition guards.cxx:46
TimedSection & operator=(const TimedSection &)=delete
TimedSection(TimedSection &&)=delete
TimedSection(const TimedSection &)=delete
TimedSection(std::string name, std::string section)
Definition guards.cxx:39