Skip to content

Commit ca4fe5f

Browse files
Old GrowLocal in Benchmark
1 parent 0f1079c commit ca4fe5f

2 files changed

Lines changed: 613 additions & 2 deletions

File tree

apps/maxbsp_ssp_sptrsv.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
#include "osp/bsp/model/MaxBspSchedule.hpp"
3636
#include "osp/bsp/scheduler/GreedySchedulers/GreedyVarianceSspScheduler.hpp"
3737
#include "osp/bsp/scheduler/GreedySchedulers/GrowLocalAutoCores.hpp"
38+
#include "osp/bsp/scheduler/GreedySchedulers/OldGrowLocalAutoCoresParallel.hpp"
3839
#include "osp/bsp/scheduler/GreedySchedulers/GrowLocalMaxBsp.hpp"
3940
#include "osp/graph_implementations/eigen_matrix_adapter/sparse_matrix.hpp"
4041

@@ -589,7 +590,7 @@ int main(int argc, char *argv[]) {
589590
}
590591

591592
if (args.algorithms.count(Algorithm::GrowLocal) > 0U) {
592-
GrowLocalAutoCores<SparseMatrixImp<int32_t>> scheduler;
593+
OldGrowLocalAutoCoresParallel<SparseMatrixImp<int32_t>> scheduler;
593594
BspSchedule<SparseMatrixImp<int32_t>> schedule(instance);
594595

595596
const auto t0 = std::chrono::high_resolution_clock::now();
@@ -638,7 +639,7 @@ int main(int argc, char *argv[]) {
638639
}
639640

640641
if (args.algorithms.count(Algorithm::GrowLocalPermSteps) > 0U) {
641-
GrowLocalAutoCores<SparseMatrixImp<int32_t>> scheduler;
642+
OldGrowLocalAutoCoresParallel<SparseMatrixImp<int32_t>> scheduler;
642643
BspSchedule<SparseMatrixImp<int32_t>> schedule(instance);
643644

644645
const auto t0 = std::chrono::high_resolution_clock::now();

0 commit comments

Comments
 (0)