File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -153,8 +153,8 @@ target_link_libraries(dynamic_traversal ${PROJECT_NAME} Threads::Threads)
153153add_executable (framework ${TF_EXAMPLE_DIR} /framework.cpp )
154154target_link_libraries (framework ${PROJECT_NAME} Threads::Threads )
155155
156- add_executable (dataflow ${TF_EXAMPLE_DIR} /dataflow.cpp )
157- target_link_libraries (dataflow ${PROJECT_NAME} Threads::Threads )
156+ # add_executable(dataflow ${TF_EXAMPLE_DIR}/dataflow.cpp)
157+ # target_link_libraries(dataflow ${PROJECT_NAME} Threads::Threads)
158158
159159add_executable (composition ${TF_EXAMPLE_DIR} /composition.cpp )
160160target_link_libraries (composition ${PROJECT_NAME} Threads::Threads )
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ int main(int argc, char *argv[]){
6464 // run_sequential2(10, 4);
6565 // exit(1);
6666
67- int rounds {2 };
67+ int rounds {1 };
6868 ::srand (time(nullptr ));
6969
7070 std::cout << std::setw (12 ) << " # Epochs"
@@ -75,16 +75,16 @@ int main(int argc, char *argv[]){
7575 << std::setw (12 ) << " speedup2"
7676 << ' \n ' ;
7777
78- for (int epoch=10 ; epoch<=100 ; epoch+=10 ) {
78+ for (int epoch=10 ; epoch<=10 ; epoch+=10 ) {
7979
8080 double omp_time {0.0 };
8181 double tbb_time {0.0 };
8282 double tf_time {0.0 };
8383
8484 for (int j=0 ; j<rounds; ++j) {
85- omp_time += measure_time_omp (epoch, num_threads).count ();
85+ // omp_time += measure_time_omp(epoch, num_threads).count();
8686 tbb_time += measure_time_tbb (epoch, num_threads).count ();
87- tf_time += measure_time_taskflow (epoch, num_threads).count ();
87+ // tf_time += measure_time_taskflow(epoch, num_threads).count();
8888 }
8989
9090 std::cout << std::setw (12 ) << epoch
You can’t perform that action at this time.
0 commit comments