Skip to content

Commit

Permalink
#1265: replay: make compatibility updates
Browse files Browse the repository at this point in the history
  • Loading branch information
nlslatt committed Nov 9, 2023
1 parent c896627 commit 3af9b7b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/vt/vrt/collection/balance/workload_replay.cc
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,9 @@ readInWorkloads(const std::string &filename) {
/*static*/
objgroup::proxy::Proxy<WorkloadDataMigrator>
WorkloadDataMigrator::construct(std::shared_ptr<LoadModel> model_base) {
auto my_proxy = theObjGroup()->makeCollective<WorkloadDataMigrator>();
auto my_proxy = theObjGroup()->makeCollective<WorkloadDataMigrator>(
"WorkloadDataMigrator"
);
auto strat = my_proxy.get();
auto base_proxy = my_proxy.template castToBase<lb::BaseLB>();
vt_debug_print(
Expand All @@ -271,7 +273,7 @@ WorkloadDataMigrator::construct(std::shared_ptr<LoadModel> model_base) {

void WorkloadDataMigrator::runLB(TimeType) { }

void WorkloadDataMigrator::inputParams(SpecEntry* spec) { }
void WorkloadDataMigrator::inputParams(ConfigEntry* spec) { }

std::unordered_map<std::string, std::string>
WorkloadDataMigrator::getInputKeysWithHelp() {
Expand Down
2 changes: 1 addition & 1 deletion src/vt/vrt/collection/balance/workload_replay.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ struct WorkloadDataMigrator : lb::BaseLB {

void runLB(TimeType) override;

void inputParams(SpecEntry* spec) override;
void inputParams(ConfigEntry* spec) override;

static std::unordered_map<std::string, std::string> getInputKeysWithHelp();

Expand Down

0 comments on commit 3af9b7b

Please sign in to comment.