Skip to content

Commit bd9a104

Browse files
updated cmake
1 parent afac933 commit bd9a104

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ target_link_libraries(dynamic_traversal ${PROJECT_NAME} Threads::Threads)
153153
add_executable(framework ${TF_EXAMPLE_DIR}/framework.cpp)
154154
target_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

159159
add_executable(composition ${TF_EXAMPLE_DIR}/composition.cpp)
160160
target_link_libraries(composition ${PROJECT_NAME} Threads::Threads)

benchmark/parallel_dnn/main.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)