Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a7fcabe

Browse files
updated linear pipeline benchmark
1 parent 4e5c56a commit a7fcabe

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

benchmarks/CMakeLists.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -226,23 +226,23 @@ target_link_libraries(
226226
set_target_properties(sort PROPERTIES COMPILE_FLAGS ${OpenMP_CXX_FLAGS})
227227

228228

229-
## benchmark 11: parallel_pipeline
229+
## benchmark 11: linear_pipeline
230230
add_executable(
231-
parallel_pipeline
232-
${TF_BENCHMARK_DIR}/parallel_pipeline/main.cpp
233-
${TF_BENCHMARK_DIR}/parallel_pipeline/omp.cpp
234-
${TF_BENCHMARK_DIR}/parallel_pipeline/tbb.cpp
235-
${TF_BENCHMARK_DIR}/parallel_pipeline/taskflow.cpp
231+
linear_pipeline
232+
${TF_BENCHMARK_DIR}/linear_pipeline/main.cpp
233+
${TF_BENCHMARK_DIR}/linear_pipeline/omp.cpp
234+
${TF_BENCHMARK_DIR}/linear_pipeline/tbb.cpp
235+
${TF_BENCHMARK_DIR}/linear_pipeline/taskflow.cpp
236236
)
237-
target_include_directories(parallel_pipeline PRIVATE ${PROJECT_SOURCE_DIR}/3rd-party/CLI11)
237+
target_include_directories(linear_pipeline PRIVATE ${PROJECT_SOURCE_DIR}/3rd-party/CLI11)
238238
target_link_libraries(
239-
parallel_pipeline
239+
linear_pipeline
240240
${PROJECT_NAME}
241241
${TBB_IMPORTED_TARGETS}
242242
${OpenMP_CXX_LIBRARIES}
243243
tf::default_settings
244244
)
245-
set_target_properties(parallel_pipeline PROPERTIES COMPILE_FLAGS ${OpenMP_CXX_FLAGS})
245+
set_target_properties(linear_pipeline PROPERTIES COMPILE_FLAGS ${OpenMP_CXX_FLAGS})
246246

247247

248248
## benchmark 12: graph_pipeline
File renamed without changes.

benchmarks/parallel_pipeline/main.cpp renamed to benchmarks/linear_pipeline/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "parallel_pipeline.hpp"
1+
#include "linear_pipeline.hpp"
22
#include <CLI11.hpp>
33

44
int main(int argc, char* argv[]) {

benchmarks/parallel_pipeline/omp.cpp renamed to benchmarks/linear_pipeline/omp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "parallel_pipeline.hpp"
1+
#include "linear_pipeline.hpp"
22
#include <omp.h>
33

44
// linear_chain_omp
File renamed without changes.

benchmarks/parallel_pipeline/taskflow.cpp renamed to benchmarks/linear_pipeline/taskflow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "parallel_pipeline.hpp"
1+
#include "linear_pipeline.hpp"
22
#include <taskflow/taskflow.hpp>
33
#include <taskflow/algorithm/pipeline.hpp>
44

benchmarks/parallel_pipeline/tbb.cpp renamed to benchmarks/linear_pipeline/tbb.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "parallel_pipeline.hpp"
1+
#include "linear_pipeline.hpp"
22
#include <tbb/pipeline.h>
33
#include <tbb/tick_count.h>
44
#include <tbb/tbb_allocator.h>

0 commit comments

Comments
 (0)