summaryrefslogtreecommitdiffstats
path: root/src/ConfigParser.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-08-17 15:25:47 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-08-17 15:33:19 +0200
commita82f72eb04d4b5766f12d94febdf2f989ca7210a (patch)
treefc43378dbb7ae7c2e16e81814fdbe9bfcff38a1f /src/ConfigParser.cpp
parent15651ab0020ba594bff02491b3d2b6472f5e4fda (diff)
downloaddabmod-a82f72eb04d4b5766f12d94febdf2f989ca7210a.tar.gz
dabmod-a82f72eb04d4b5766f12d94febdf2f989ca7210a.tar.bz2
dabmod-a82f72eb04d4b5766f12d94febdf2f989ca7210a.zip
Add number of threads setting for MemlessPoly
Diffstat (limited to 'src/ConfigParser.cpp')
-rw-r--r--src/ConfigParser.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp
index 459811f..f27eb08 100644
--- a/src/ConfigParser.cpp
+++ b/src/ConfigParser.cpp
@@ -172,6 +172,9 @@ static void parse_configfile(
if (pt.get("poly.enabled", 0) == 1) {
mod_settings.polyCoefFilename =
pt.get<std::string>("poly.polycoeffile", "default");
+
+ mod_settings.polyNumThreads =
+ pt.get<int>("poly.num_threads", 0);
}
// Output options