MyraMath
|
Public Member Functions | |
Options () | |
Constructs default Options. | |
Options & | set_threading_layer (int in_threading_layer) |
Named constructor idiom, setters. | |
Options & | set_nthreads (int in_nthreads) |
Options & | set_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 |