QMCPACK
OverrideMaxCapacity< TT > Class Template Reference

A service class to override active avaiable threads upon construction. More...

+ Inheritance diagram for OverrideMaxCapacity< TT >:
+ Collaboration diagram for OverrideMaxCapacity< TT >:

Private Member Functions

 OverrideMaxCapacity (int max_threads)
 

Detailed Description

template<Executor TT = Executor::OPENMP>
class qmcplusplus::Concurrency::OverrideMaxCapacity< TT >

A service class to override active avaiable threads upon construction.

Restore active avaiable threads upon destruction as the thread count recorded during construction.

Definition at line 51 of file UtilityFunctions.hpp.

Constructor & Destructor Documentation

◆ OverrideMaxCapacity()

OverrideMaxCapacity ( int  max_threads)
inlineprivate

Definition at line 53 of file UtilityFunctions.hpp.

53 {}

The documentation for this class was generated from the following file: