File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ Let's actually measure the difference! If we run the exact same color inversion
9999
100100<!--
101101`CPP_COPY_SNIPPET` parallelism_algorithms/main.cpp
102- `CPP_RUN_CMD` CWD:parallelism_algorithms bash -c 'g++-15 -std=c++17 -I/opt/homebrew/include -L/opt/homebrew/lib -ltbb main.cpp 2>/dev/null || c++ -std=c++17 -ltbb main.cpp'
102+ `CPP_RUN_CMD` CWD:parallelism_algorithms bash -c 'g++-15 -std=c++17 -I/opt/homebrew/include -L/opt/homebrew/lib main.cpp -ltbb 2>/dev/null || c++ -std=c++17 main.cpp -ltbb '
103103-->
104104``` cpp
105105#include < algorithm>
@@ -173,7 +173,7 @@ Let's rewrite our color inversion example using `tbb::parallel_for`. This explic
173173
174174<!--
175175`CPP_COPY_SNIPPET` parallelism_raw_tbb/main.cpp
176- `CPP_RUN_CMD` CWD:parallelism_raw_tbb bash -c 'g++-15 -std=c++17 -I/opt/homebrew/include -L/opt/homebrew/lib -ltbb main.cpp 2>/dev/null || c++ -std=c++17 -ltbb main.cpp'
176+ `CPP_RUN_CMD` CWD:parallelism_raw_tbb bash -c 'g++-15 -std=c++17 -I/opt/homebrew/include -L/opt/homebrew/lib main.cpp -ltbb 2>/dev/null || c++ -std=c++17 main.cpp -ltbb '
177177-->
178178``` cpp
179179#include < chrono>
You can’t perform that action at this time.
0 commit comments