MyraMath
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
myra::jobgraph::Options Class Reference
Collaboration diagram for myra::jobgraph::Options:
[legend]

Public Member Functions

 Options ()
 Constructs default Options.
 
Optionsset_threading_layer (int in_threading_layer)
 Named constructor idiom, setters.
 
Optionsset_nthreads (int in_nthreads)
 
Optionsset_progress (const ProgressMeter &in_progress)
 

Static Public Member Functions

static int default_threading_layer ()
 Returns one of the THREADING_LAYER constants named below.
 
static int sanitize (int in_threading_layer)
 
static Options create ()
 Named constructor idiom, creates default options.
 

Public Attributes

int threading_layer
 Which threading_layer to use?
 
int nthreads
 How many threads to use?
 
ProgressMeter progress
 Enable progress meter?
 

Static Public Attributes

static const int THREADING_LAYER_OMP = 1
 
static const int THREADING_LAYER_SERIAL = 0
 

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