From 0b731b5d8030ea6f7287794cdc74d76096eef416 Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Mon, 6 Jun 2016 17:46:53 +0100 Subject: [PATCH] Hadrons: genetic scheduler parameter fix --- programs/Hadrons/Application.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/Hadrons/Application.cc b/programs/Hadrons/Application.cc index f45ca066..4bb300e9 100644 --- a/programs/Hadrons/Application.cc +++ b/programs/Hadrons/Application.cc @@ -127,7 +127,7 @@ void Application::schedule(void) // constrained topological sort using a genetic algorithm LOG(Message) << "Scheduling computation..." << std::endl; - constexpr unsigned int maxGen = 2000000, maxCstGen = 2000000; + constexpr unsigned int maxGen = 200, maxCstGen = 50; unsigned int k = 0, gen, prevPeak, nCstPeak = 0; auto graph = env_.makeModuleGraph(); auto con = graph.getConnectedComponents();