mirror of
https://github.com/paboyle/Grid.git
synced 2025-12-23 06:04:29 +00:00
Hadrons: first full implementation of the scheduler
This commit is contained in:
@@ -35,3 +35,12 @@ std::string Module::getName(void) const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void Module::operator()(Environment &env)
|
||||
{
|
||||
allocate(env);
|
||||
if (!env.isDryRun())
|
||||
{
|
||||
execute(env);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user