DiSMEC++
config.h File Reference

Defines configuration variables. More...

Go to the source code of this file.

Namespaces

 dismec
 Main namespace in which all types, classes, and functions are defined.
 
 dismec::parallel
 

Typedefs

using dismec::real_t = float
 The default type for floating point values. More...
 

Variables

constexpr const long dismec::CG_MIN_ITER_BOUND = 5
 
constexpr const real_t dismec::CG_DEFAULT_EPSILON = 0.5
 The default value for the tolerance parameter of the conjugate gradient optimization. More...
 
constexpr const int dismec::MIN_TIME_PER_CHUNK_MS = 5
 If the time needed per chunk of work is less than this, we display a warning. More...
 
constexpr const int dismec::parallel::COST_PLACE_THREAD = 10
 Load balancing cost for placing a thread on a core. More...
 
constexpr const int dismec::parallel::COST_PLACE_HYPER_THREAD = 5
 Load balancing cost for placing a thread on a SMT shared core. More...
 
constexpr const int dismec::PREDICTION_RUN_CHUNK_SIZE = 1024
 Default chunk size for predicting scores. More...
 
constexpr const int dismec::PREDICTION_METRICS_CHUNK_SIZE = 4096
 Default chunk size for calculating metrics. More...
 

Detailed Description

Defines configuration variables.

If you want to change the defaults of the program, this is the header in which these numbers are defined.

Definition in file config.h.