diff --git a/cmake/dependencies.cmake b/cmake/dependencies.cmake index e575640..9a1b8a1 100644 --- a/cmake/dependencies.cmake +++ b/cmake/dependencies.cmake @@ -8,7 +8,6 @@ find_package(Boost REQUIRED) find_package(sciplot REQUIRED) find_package(LLVM REQUIRED CONFIG) find_package(fmt REQUIRED) -find_package(TBB REQUIRED) if(${CTBENCH_ENABLE_TESTS}) find_package(Catch2 REQUIRED) diff --git a/grapher/cmake/grapher-target.cmake b/grapher/cmake/grapher-target.cmake index 14b71b9..bb0c0d3 100644 --- a/grapher/cmake/grapher-target.cmake +++ b/grapher/cmake/grapher-target.cmake @@ -10,8 +10,6 @@ target_include_directories(grapher llvm_map_components_to_libnames(llvm_libs support) -target_link_libraries(grapher PRIVATE TBB::tbb) - target_link_libraries(grapher PUBLIC ${llvm_libs} diff --git a/grapher/lib/grapher/plotters/compare_by.cpp b/grapher/lib/grapher/plotters/compare_by.cpp index 8167b55..6b6b8e1 100644 --- a/grapher/lib/grapher/plotters/compare_by.cpp +++ b/grapher/lib/grapher/plotters/compare_by.cpp @@ -1,5 +1,4 @@ #include -#include #include #include #include @@ -306,8 +305,7 @@ void plotter_compare_by_t::plot(benchmark_set_t const &bset, fs::create_directories(dest); // Drawing, ie. unwrapping the nested maps and drawing curves + saving plots - std::for_each(std::execution::par_unseq, curve_aggregate_map.begin(), - curve_aggregate_map.end(), + std::for_each(curve_aggregate_map.begin(), curve_aggregate_map.end(), [&](auto const &aggregate_key_value) { generate_plot(aggregate_key_value, {.plot_output_folder = dest, diff --git a/grapher/lib/grapher/utils/json.cpp b/grapher/lib/grapher/utils/json.cpp index 683adf5..18da8a3 100644 --- a/grapher/lib/grapher/utils/json.cpp +++ b/grapher/lib/grapher/utils/json.cpp @@ -1,5 +1,4 @@ #include -#include #include #include @@ -132,8 +131,8 @@ filtered_values_sums(benchmark_instance_t const &instance, return val; }; - std::transform(std::execution::par_unseq, instance.repetitions.begin(), - instance.repetitions.end(), res.begin(), get_val); + std::transform(instance.repetitions.begin(), instance.repetitions.end(), + res.begin(), get_val); return res; }