Skip to content

Commit

Permalink
Added support for custom apps
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeferson Gonzalez committed Mar 24, 2022
1 parent 1dc8a0a commit ce8f474
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions common/scheduler/scheduler_open.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1111,6 +1111,9 @@ int coreRequirementTranslation (String compositionString) {
int t[] = {1, 2, 0, 4, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 16}; // zeros are placeholders, other parallelism values run but are suboptimal -> don't allow in the first place
requirements.insert(requirements.end(), std::begin(t), std::end(t));
}
} else if (suite == "myapps") {
int t[] = {1, 2, 3, 4, 5, 6, 7, 8, 12, 16, 32, 42, 48};
requirements.insert(requirements.end(), std::begin(t), std::end(t));
} else {
cout <<"\n[Scheduler] [Error]: Can't find core requirement of " << compositionString << " (only PARSEC and SPLASH2 are implemented). Please add the profile." << endl;
exit (1);
Expand Down

0 comments on commit ce8f474

Please sign in to comment.