Commit 1d1965f7 authored by Florian Schmaus's avatar Florian Schmaus
Browse files

[apps/FibChildStealing] Improve fibNum arg parsing

Also, don't set an unsigned to -1…
parent 89dd8fae
......@@ -66,13 +66,13 @@ static void fib(void* voidParams) {
// NOLINTNEXTLINE(bugprone-exception-escape)
auto main(int argc, char* argv[]) -> int {
uint64_t fibNum = -1;
uint64_t fibNum = 12;
po::options_description desc("Allowed options");
// clang-format off
("help", "Show help")
("nthreads", po::value<unsigned int>()->default_value(std::thread::hardware_concurrency()), "Number of worker threads used by EMPER's runtime system")
("fibnum", po::value<uint64_t>(&fibNum)->default_value(12), "The Fibonacci number to compute")
("fibnum", po::value<uint64_t>(&fibNum)->default_value(fibNum), "The Fibonacci number to compute")
// clang-format on
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment