Optimized Belief Propagation (CPU and GPU)
|
Namespace with CPU run defaults and constants. More...
Variables | |
constexpr std::string_view | kSimulateSingleCPU {"SimulateSingleCPU"} |
Constant that specifies that run is simulating single CPU on a dual-CPU system. More... | |
const unsigned int | kNumThreadsCPU {std::thread::hardware_concurrency()} |
Constant corresponding to number of threads on CPU. More... | |
const unsigned int | kMinNumThreadsRun {std::min(kNumThreadsCPU, 4u)} |
Minimum number of threads to allow for any parallel parameters setting on CPU. More... | |
const std::array< unsigned int, 2 > | kParallelParamsDefault |
Default parallel parameters setting on CPU. More... | |
const std::set< std::array< unsigned int, 2 > > | kParallelParameterAltOptions |
Parallel parameters options that are tested in order to find optimized configuration in run. OK to include default option but not required. More... | |
Namespace with CPU run defaults and constants.
const unsigned int run_cpu::kMinNumThreadsRun {std::min(kNumThreadsCPU, 4u)} |
Minimum number of threads to allow for any parallel parameters setting on CPU.
Definition at line 80 of file RunCPUSettings.h.
const unsigned int run_cpu::kNumThreadsCPU {std::thread::hardware_concurrency()} |
Constant corresponding to number of threads on CPU.
Definition at line 76 of file RunCPUSettings.h.
const std::set<std::array<unsigned int, 2> > run_cpu::kParallelParameterAltOptions |
Parallel parameters options that are tested in order to find optimized configuration in run. OK to include default option but not required.
Definition at line 105 of file RunCPUSettings.h.
const std::array<unsigned int, 2> run_cpu::kParallelParamsDefault |
Default parallel parameters setting on CPU.
Definition at line 83 of file RunCPUSettings.h.
|
constexpr |
Constant that specifies that run is simulating single CPU on a dual-CPU system.
Definition at line 73 of file RunCPUSettings.h.