Browse Source

Set Sylvan Thread Count to 1.

This is necessary for Sylvan with RationalFunction. For now.


Former-commit-id: bc1c2318e7
tempestpy_adaptions
PBerger 8 years ago
parent
commit
1a7d269228
  1. 2
      src/settings/modules/SylvanSettings.cpp

2
src/settings/modules/SylvanSettings.cpp

@ -17,7 +17,7 @@ namespace storm {
SylvanSettings::SylvanSettings() : ModuleSettings(moduleName) {
this->addOption(storm::settings::OptionBuilder(moduleName, maximalMemoryOptionName, true, "Sets the upper bound of memory available to Sylvan in MB.").addArgument(storm::settings::ArgumentBuilder::createUnsignedIntegerArgument("value", "The memory available to Sylvan.").setDefaultValueUnsignedInteger(4096).build()).build());
this->addOption(storm::settings::OptionBuilder(moduleName, threadCountOptionName, true, "Sets the number of threads used by Sylvan.").addArgument(storm::settings::ArgumentBuilder::createUnsignedIntegerArgument("value", "The number of threads available to Sylvan (0 means 'auto-detect').").setDefaultValueUnsignedInteger(0).build()).build());
this->addOption(storm::settings::OptionBuilder(moduleName, threadCountOptionName, true, "Sets the number of threads used by Sylvan.").addArgument(storm::settings::ArgumentBuilder::createUnsignedIntegerArgument("value", "The number of threads available to Sylvan (0 means 'auto-detect').").setDefaultValueUnsignedInteger(1).build()).build());
}
uint_fast64_t SylvanSettings::getMaximalMemory() const {

Loading…
Cancel
Save